php-db | 2002091
Date: 09/13/02
- Next message: Rodrigo: "[PHP-DB] Need help.."
- Previous message: Rafael Mueller: "Re: [PHP-DB] need help!!!!!"
- In reply to: Rodrigo: "[PHP-DB] need help!!!!!"
- Next in thread: Edward Peloke: "[PHP-DB] newbie help...parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>
> rodrigo <email protected>
>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Rodrigo: "[PHP-DB] Need help.."
- Previous message: Rafael Mueller: "Re: [PHP-DB] need help!!!!!"
- In reply to: Rodrigo: "[PHP-DB] need help!!!!!"
- Next in thread: Edward Peloke: "[PHP-DB] newbie help...parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

