Thanks! I wasn't aware the regular string methods applies here!

-----Original Message-----
From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 11:01 AM
To: Velocity Developer's List
Subject: Re: String tool


On 7/8/02 10:50 AM, "Ed Yu" <[EMAIL PROTECTED]> wrote:

> Hi all, just wanted to ask if there is any string tool available such
> as:
> 
> $stringTool.length($myString)
> $stringTool.indexOf($myString, "mySubstring")
> .
> .
> .
> 
> If not, I'll be willing to contribute one.
> 

All contributions are welcome.  However, take a look at the -tools
project
(was the rupert code base) to make sure that isn't there.

Note that you can do the two things above using the regular String class
API
:

$myString.length()

Or 

$myString.indexOf("subString")


-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
[EMAIL PROTECTED]
+1-203-247-1713



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to