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
Churlant
Novice


Joined: 17 Oct 2002
Posts: 44
Location: USA

PostPosted: Sun Apr 10, 2005 4:19 am   

Number of Characters in a word?
 
I'm trying to find a function or some way of returning the number of characters in a single word that has been captured into a variable.

I know there is a function for number of words in a string... but is there one for number of letters/characters in a word?

-JC
_________________
>-Churlant-<
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Apr 10, 2005 5:25 am   
 
%len() is the one you're looking for.
_________________
EDIT: I didn't like my old signature
Reply with quote
Churlant
Novice


Joined: 17 Oct 2002
Posts: 44
Location: USA

PostPosted: Sun Apr 10, 2005 6:02 pm   
 
MattLofton wrote:
%len() is the one you're looking for.


That is indeed it :) Beautiful... and thanks.

-JC
_________________
>-Churlant-<
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