Reply to How to access first element of string?

Your name:

Reply:


Posted by <talthen.z-serwera.o2 on 08/25/05 21:03

Hello,
I have written such a code:
$String="12345";
$String[0]='?'
It makes $String an array, but I just want to set the first char of it (1)
into ?.
I also tried $String[0]=chr(ord('?'));
but it also doesn't work.
I looked at the manul, but I can't find how to do it.

Regrds,
Talthen

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация