Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
radboi22
Novice


Joined: 19 Jan 2008
Posts: 30

PostPosted: Thu Sep 04, 2008 2:56 am   

Deleting a Blank variable from a string list
 
Hi, How do I delete a blank variable from a string list, Ex..

1|2|3|4||6|7|8|9|

There is a blank line between 4 and 6, I want to delete that.. THANKS =D
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Thu Sep 04, 2008 4:06 am   
 
Try %replace("1|2|3|4||6|7|8|9","||","|")
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4715
Location: Pensacola, FL, USA

PostPosted: Thu Sep 04, 2008 5:36 am   
 
#DELI var %null

that might work

I normally just use the settings editor, but being able to script it would be nice as well
_________________
Discord: Shalimarwildcat
Reply with quote
radboi22
Novice


Joined: 19 Jan 2008
Posts: 30

PostPosted: Thu Sep 04, 2008 7:34 pm   
 
THANKS that helps a ton =D
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net