Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

help managing string

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

help managing string

Postby leon » Mon Nov 18, 2002 9:40 am

hi ,

I have this ...

Code: Select all
$url ="/home/test/public_html/asdfasdf";


and I need to extract from it only /asdfasdf . Anyone can help me ?
User avatar
leon
New php-forum User
New php-forum User
 
Posts: 36
Joined: Sat Aug 03, 2002 11:54 am

Re: help managing string

Postby leon » Mon Nov 18, 2002 9:56 am

leon wrote:hi ,

I have this ...

Code: Select all
$url ="/home/test/public_html/asdfasdf";


and I need to extract from it only /asdfasdf . Anyone can help me ?


ok I solved using list and split :wink:
User avatar
leon
New php-forum User
New php-forum User
 
Posts: 36
Joined: Sat Aug 03, 2002 11:54 am


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.