Re: need help!!!!!
| From: | Steve Cayford | Date: | Fri, 13 Sep 2002 19:56:17 +0000 |
| Subject: | Re: need help!!!!! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21743@lists.php.net to get a copy of this message | ||
You probably want substr():
http://www.php.net/manual/en/function.substr.php
Or browse the other string functions:
http://www.php.net/manual/en/ref.strings.php
-Steve
On Friday, September 13, 2002, at 02:47 PM, Rodrigo wrote:
Hi everybody........
if i have a var that is...
$var = "01 - Rodrigo";
is there a way that i can only get the first two letters???
for example... 01
i´m new in php.....thanks a lot
Brazilian dude
--------------------------------------------------------------------------------
Equipe Pratic Sistemas
Rodrigo Corrêa
Fone: (14) 441-1700
suporte@praticsistemas.com.br
rodrigo@praticsistemas.com.br