![]() |
VOOZH | about |
lstrip!()Removes leading whitespace from str, returning nil if no change was made. See also String#rstrip! and String#strip!.
Refer to strip for the definition of whitespace.
" hello ".lstrip! #=> "hello " "hello ".lstrip! #=> nil "hello".lstrip! #=> nil