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
Eowyn
Apprentice


Joined: 19 Jan 2001
Posts: 117
Location: Norway

PostPosted: Sat Aug 17, 2002 8:03 pm   

Adding a space behind all variables in a list.
 
I have a variable with a lot of names in it. Before exporting it, the variable has a space behind every name (i.e. Name ). After exporting the variable, all the spaces have disappeared (i.e. Name). Is it possible to make an alias to add a space behind all entries in the list again? There really is a LOT of names in the variable, so going through it and manually adding a space isn't an option.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Aug 17, 2002 11:46 pm   
 
Assuming this is a stringlist-type variable,
#VAR names {%replace(@names, "|", " |") + " "}

LightBulb
Senior Member
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