How to retrieve length of the string?
Eric DeWeaver
deweaver at AOS.WISC.EDU
Tue Mar 28 10:46:40 EST 2006
Hi Witek,
There is a way, provided that you're writing a grads script.
Use the 'strlen' function, as in
xx='hello'
yy=strlen(xx)
say yy
Best,
Eric
On Tue, 28 Mar 2006, Witold Interewicz wrote:
> Hello,
> Is there any way to get number of characters in a given string?
> Greetings,
> Witek
>
> ----------------------------------------------------
> Sharon Stone w filmie "Nagi Instynkt 2" w kinach od 29 marca!
> http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fnagi_instynkt.html&sid=712
>
More information about the gradsusr
mailing list