Core Function ResolveStr
From Sputnik Wiki
ResolveStr( <expression> )
Contents |
Description
Treat a given string as if it was a Sputnik "string" and parse all stuff inside it such as $variables etc.
Parameters
expression
The string to use.
Return Value
Success: Returns new string.
Failure: Returns empty string.
Remarks
None.
Example
println("Without Resolve: " . 'The value is $lol' ); println("With Resolve: " . ResolveStr('The value is $lol') );