help managing string

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
leon
New php-forum User
New php-forum User
Posts: 36
Joined: Sat Aug 03, 2002 11:54 am

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:


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 4 guests