Thanks Chris and Roy.

I thought there was, but couldn't find it.  I have the functionality
of $length from other languages too firmly entrenched in my mind!

Thanks
Kevin


On 3/26/06, Chris Richardson <[EMAIL PROTECTED]> wrote:
> Yup.  It is called the two argument $LENGTH.
>
>    $LENGTH(STRING,SUBSTRING) ; Returns the number of pieces
>    ;  There is always at least 1 returned even when there is no occurrence
> of the substring..
>
> S X="THIS IS A TEST"
> W $L(X,"^")
> 1
> W $L(X," ")
> 4
> W $L(X,"T")
> 4
> W $L(X,"IS")
> 3
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to