Answers for "ruby rtrim"

0

ruby string trmi

>> @title = "abc"
=> "abc"
>> @title.strip!
=> nil
>> @title
=> "abc"
>> @title = " abc "
=> " abc "
>> @title.strip!
=> "abc"
>> @title
=> "abc"
Posted by: Guest on May-06-2020

Browse Popular Code Answers by Language