- Subject: [slang-users] how to get a character of a string?
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Wed, 3 Jan 2007 00:53:24 +0000 (UTC)
Hi,
how can I get the first character of a string? Think of UTF-8!
if (substr("hello", 1, 1) == 'h')
Bye, Jörg.
--
Optimisten haben gar keine Ahnung von den freudigen Überraschungen, die
Pessimisten erleben.
(Peter Bramm)
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]