|
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 from United States [1445 posts] |
8 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.
|
|