Posted by Ivαn Sαnchez Ortega on 03/09/06 11:14
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Morrison wrote:
> I have looked at the PHP string functions and I cant see any function to
> check to see whether a string starts with a certain letter or letters. Is
> there any way of doing this with the built in functions?
Have another look at the substr() function, and at the "==" operator.
- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/
MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFED/H63jcQ2mg3Pc8RAvSDAJ9YX11a0R+CQfWmrjUHrPGVePuJQQCeKJSA
fYcQp2s3wr1WjFoNTNX3xJ4=
=/fkx
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|