1. Hi,

    I'm having a weird issue with the UTF-8 aware strsub function, taken from here:

    When using the function like this (notice the "2"):



    The function produses an incorrect string (just like the normal strsub). Where arg1 is a string with a special character as the first char, e.g. "Æddy". And the "?" is some invalid char.

    But using the function with a strupper or strlower produces the correct result:



    When using the same function like this (notice the "1"):



    It produces the correct result again. I can not seem to find an explanation for this.

    The start argument was 'startIndex' not 'startChar', which obviously isn't very useful. I've updated the example to allows it to function properly.

    Thanks for your response. Will test it.