Contents

Roo

Text.lstrip!

Returns a new Text object with the leading whitespace removed. The leading whitespace of the original text is also removed.

var a = "   Hello"
var b = a.lstrip!
print(a) # => "Hello"
print(b) # => "Hello"