Create string from several parts

Syntax

s.from(s1 [s2 ...])

 

Parameters

s - str variable.

s1, s2, ... - string or numeric values.

 

Remarks

str does not support expression s = s1 + s2 to join two strings. For this purpose is used function from.

 

Tips

To append other string to the end or beginning of s, you can also use + or - operator.

 

Examples

str s = "notepad"
str ss.from(s ".exe")
 now ss is "notepad.exe"

 The same with +:
ss=s
s+".exe"