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
Brodie
Newbie


Joined: 26 Nov 2001
Posts: 1

PostPosted: Mon Nov 26, 2001 3:52 am   

String Manipulation
 
Are there commands that would allow me to take a phrase such as 'The sky is blue' and have my client break it down into component letters to manipulate as I will? Ie. count number of instances of each letter in the phrase,count number of letters total in the phrase, etc... I am searching for a string manipulation technique.
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Mon Nov 26, 2001 5:39 am   
 
There are dozens of functions which manipulate strings. These include %len, %pos, %left, %copy, %leftback, %word, %numwords, %replace, and %remove. Read them over in the manual, you'll find what you're looking for.

Troubadour
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