method
lstrip
v1_9_1_378 -
Show latest stable
- Class:
String
lstrip()public
Returns a copy of str with leading whitespace removed. See also String#rstrip and String#strip.
" hello ".lstrip #=> "hello " "hello".lstrip #=> "hello"
lstrip()Returns a copy of str with leading whitespace removed. See also String#rstrip and String#strip.
" hello ".lstrip #=> "hello " "hello".lstrip #=> "hello"