(Formerly known as global function StrCat, which is now obsolete)
String.Append(string str2)
Appends the string STR2 to the end of the specified string, and returns the result.
IMPORTANT: The result of joining the strings together is returned as a new
string from this command. The original string will NOT be changed. For
example, the following script will not do anything:
mytext.Append("World");
what you probably want instead is:
mytext = mytext.Append("World");
Example:
String mytext = "Hello";
mytext = mytext.Append("World");
Display(mytext);
will display "HelloWorld".
See Also: String.AppendChar,
String.Substring, String.Truncate
|