str.lstrip â new_str
Instance Public methods
Returns a copy of str with leading whitespace removed. See also
String#rstrip and String#strip.
" hello ".lstrip #=> "hello " "hello".lstrip #=> "hello"
Returns a copy of str with leading whitespace removed. See also
String#rstrip and String#strip.
" hello ".lstrip #=> "hello " "hello".lstrip #=> "hello"
Please login to continue.