String Concatenation Using the '+' Operator
-
Hello, I have a very simple question but I can't seem to find the answer. I would like to concatenate two strings using the '+' operator. I understand that for many this may seem a bit trivial, but I'm stuck on the syntax.
lblMsLeft.set("text", Engine.doubleToString(value, 0));
In this line of code, I've transformed the milliseconds value into a string to obtain 0 decimals. Now, I'd like to append the string 'ms' to the converted string value.
-
this is with a space before the suffix lblMsLeft.set("text", Engine.doubleToString(value, 0)+" ms"); without a space before the suffix lblMsLeft.set("text", Engine.doubleToString(value, 0)+"ms");
-
@ulrik "Thank you for taking a few minutes to address my issue. I understand it was a very simple matter, but I was stuck on the syntax. Thanks again."
-
-