in reply to Re: Substring consisting of all the characters until "character X"?
in thread Substring consisting of all the characters until "character X"?

You should first test that the return value from index is greater than $i or you may get unexpected results.

  • Comment on Re^2: Substring consisting of all the characters until "character X"?
  • Download Code