R
Robert Keller
I have a string that looks like this :
ts = "^LThe beginning of the sentence"
I want to remove the "^L"
I've tried
ts.gsub!(/^[\^L]/,'')
which removes the "^", but I need to remove the "^L" when they are
together and at the beginning of the sentence.
Any help is welcome
ts = "^LThe beginning of the sentence"
I want to remove the "^L"
I've tried
ts.gsub!(/^[\^L]/,'')
which removes the "^", but I need to remove the "^L" when they are
together and at the beginning of the sentence.
Any help is welcome