SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Splitting string
-
Jul 12, 2001, 08:57 #1
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Splitting string
Um... How would I split a string every time a " " character is found (space).
So that "jeremy wright" would be:
fname="jeremy"
lname="wright"
Any thoughts?
Sorry about all the string questions, I'm learning
-
Jul 12, 2001, 11:04 #2
- Join Date
- Dec 2000
- Location
- Karachi, Pakistan
- Posts
- 913
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well,
I did it once when I needed it.. actually its called the split function..
Here's the url from the Microsoft Scripting Website
http://msdn.microsoft.com/scripting/...vsfctSplit.htm
Let me know if you have any problems..
Regards,
Omair Haroon36Host.com - $36/year web hosting [affiliates earn 30%]
* Affordable Small Business Web Hosting since 2003! *
"500mb space, 10gb bandwith, 50 pop/ftp accounts, php,
mysql, pre-installed php scripts, 24/7 support & more...."
-
Jul 12, 2001, 11:26 #3
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Perfect, thanx
-
Jul 12, 2001, 17:11 #4
- Join Date
- Jul 2001
- Location
- Scotland
- Posts
- 4,836
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
sunny, jus buy a book or email me/fone me and ill tell ya :P
BTW, ill send a reply to ur emails 2morrow... not in the best frame of mind to do it right now, sorry
Bookmarks