str.concat(integer) â str
str.concat(obj) â str
str.concat(obj) â str
Instance Public methods
AppendâConcatenates the given object to str. If the object is a
Integer
, it is considered as a codepoint, and is converted to
a character before concatenation.
a = "hello " a << "world" #=> "hello world" a.concat(33) #=> "hello world!"
Please login to continue.