.append(val)
Description
Returns a new string with val appended to the end of the current string.
Parameters
val — value to append (will be converted to string if not already).
Usage
str = "hello ".append("world")
// "hello world"Last updated
Was this helpful?