Lasso Soft Inc. > Home

[ String_Concatenate ]

Method

[String_Concatenate] returns the concatenation of all specified parameters. Each parameter is cast to a string and then added to the output.

This method can be used in a situation where casting individual values to string would make the code more difficult to read. [String_Concatenate(1, 2, 3, 4)] is easier to read than e.g. [string(1) + string(2) + string(3) + string(4)]

  • Syntax
String_Concatenate('String Value', 'String Value')
Examples
  • Beginner

To concatenate several values:

Use the [String_Concatenate] method with each of the values specified. The following example concatenates values of several different data types.

Code

String_Concatenate( 'one', 2, 3.0, 'four')

Result

one23.000000four

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft