help managing string

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

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

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

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:

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests