in reply to Re: Trouble with Transliterate Function
in thread Trouble with Transliterate Function

Initially I ++voted your optimization but then noticed that if the first interval range does not start with 1, the first character will not be replaced with N. I think $lastEnd=0 is the correct initial value, as in BrowserUK's solution.

  • Comment on Re^2: Trouble with Transliterate Function