Raised This Month: $ Target: $400
 0% 

How do i split a string and remove the spaces? RESOLVED :o)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Noobie
Junior Member
Join Date: Oct 2004
Location: uk
Old 02-07-2005 , 12:16   How do i split a string and remove the spaces? RESOLVED :o)
Reply With Quote #1

Hi, i have a problem and it's really annoying me, i want to split a string into 4 pieces and remove the spaces from this:

"vote battlefield sq1 linebattle"

into this:

var1 = "vote"
map1 = "battlefield"
map2 = "sq1"
map3 = "linebattle"

i have searched and tried a lot of things like parse,copyc, read_args
and i am about to give up so any help would be great ty.
Noobie is offline
Send a message via ICQ to Noobie Send a message via AIM to Noobie Send a message via MSN to Noobie
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode