i have a long string which contains a url. I want to extract that url from that particular string. Please help me.
ditty 0 Light Poster
Recommended Answers
Jump to Post— ahmksssv 0i have a long string which contains a url. I want to extract that url from that particular string. Please help me.
Hi ditty....
U can extract by using this way....
1) by using EXPLODE function
2)by using SPLIT function...eg:
$url="
Jump to Post— nav33n 472If the string is in this format
dddddddeeeeeeeffff
I don't think you can extract the email address, since you wouldn't know what is the exact part before @. If your string is as you stated above, ie.,
ssfihuihuiifhhdfhishfihfh jjjjjif
All 8 Replies
ahmksssv 0 Junior Poster in Training
ditty 0 Light Poster
nav33n 472 Purple hazed! Team Colleague Featured Poster
ahmksssv 0 Junior Poster in Training
jpcodechef 0 Newbie Poster
jpcodechef 0 Newbie Poster
alanaktion 0 Newbie Poster
edussooriya 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.