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
malikai3k
Beginner


Joined: 24 Dec 2004
Posts: 14
Location: Brisbane, Australia

PostPosted: Sun Jul 31, 2005 4:34 am   

strip non-alpha chars
 
Hmm can't seem to find the command to strip non-alpha characters from a string, can anyone point me in the right direction
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sun Jul 31, 2005 11:15 am   
 
Code:
%subregex('this123 string _ has non-alpha[chars]','[^A-Za-z]')


That should do do the trick.
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
malikai3k
Beginner


Joined: 24 Dec 2004
Posts: 14
Location: Brisbane, Australia

PostPosted: Wed Aug 03, 2005 6:47 am   
 
thanks :)
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