in reply to Re: How to insert a "/" within a string?
in thread How to insert a "/" within a string?
To be in the same spirit as most of the other solutions proposed here, you should have written ($index = index($str, 'CO', $index)) > -1 as
;-)lc($index = index($str, 'CO', $index)) =~ /^-/
|
|---|