str.prepend(other_str) â str
Instance Public methods
PrependâPrepend the given string to str.
a = "world" a.prepend("hello ") #=> "hello world" a #=> "hello world"
PrependâPrepend the given string to str.
a = "world" a.prepend("hello ") #=> "hello world" a #=> "hello world"
Please login to continue.