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


Joined: 11 Sep 2005
Posts: 124

PostPosted: Tue May 30, 2006 8:36 pm   

Removing Items of a given form from a string list
 
Given a string list of any of the following forms

1.X|1.Y|UNIMPORTANT_1|2.X
1.X|UNIMPORTANT_1|1.Y|UNIMPORTANT_2|2.X
1.X|UNIMPORTANT_1|2.X1.Y|
UNIMPORTANT_1|1.X|2.X|1.Y

produce

1.X|2.X|1.Y

Basically, remove all occurances of UNIMPORTANT_(Any Number Here)
from a given string list.
Reply with quote
shalimar
GURU


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

PostPosted: Tue May 30, 2006 10:13 pm   
 
#LOOP highestNumberThatShows {#DELI stringlist unimportant_%i}
_________________
Discord: Shalimarwildcat
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