[String->Append] casts the parameters to strings and appends them to the string variable. Modifies the string variable and returns no value. Requires at least one string parameter.
This method should only be called on variables which contain a string value.
String Variable->append('String Value')
Use the [String->Append] method. The following example shows a string variable named MyVariable that contains the words "The quick brown fox". The [String->Append] method is used to add the rest of the phrase and then the entire value of MyVariable is output, "The quick brown fox jumped over the lazy dog!".
Code
var('myvariable')='The quick brown fox '
$myvariable->append('jumped over the lazy dog!')
$myvariable
Result
The quick brown fox jumped over the lazy dog!
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments