This works great. Thanks.
Jochem Maas wrote:
>
> delsvr wrote:
>> Just a simple question (with a simple answer, hopefully): how can I
>> access
>> character x of a utf-8 encoded string? i.e. how would I get this to work:
>>
>> for($x=0; $x < strlen($utf8); $x++)
>> echo "character {$x}:" . $
delsvr wrote:
> Just a simple question (with a simple answer, hopefully): how can I access
> character x of a utf-8 encoded string? i.e. how would I get this to work:
>
> for($x=0; $x < strlen($utf8); $x++)
> echo "character {$x}:" . $utf8{$x};
>
> Keep in mind that I have strlen overloaded by
2 matches
Mail list logo