loading
 
String or variable concatenation
Thomas Wagner from Germany  [51 posts]
9 year
Is there any easy way to do string concatenation (add two strings), e.g. add a string and a value, for display?

Such a feature might fit into Text field expressions.
http://www.roborealm.com/help/Expressions.php

I am only trying to put some variableoutput text together with a measured execution time into one string for output.

Of course I could write a python script ...
Steven Gentner from United States  [1446 posts] 9 year
Thomas,

Its now possible to use

["hello"+"world"]

as string concatenation inside the expression syntax. Note when using variables, the system may not understand the desired type so the use of the cstr, cint and cflt functions can help to type cast correct. For example.

["2"+1]

produces 21 whereas

[cint("2")+1]

produces 3.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index