On 5/25/05, Liu, Teh P <[EMAIL PROTECTED]> wrote:
> I have a string "TehpaoLiu"
> Is it possible to just extract "Tehpao" from the above string in velocity?

That is a very vague question, but I suppose that since you know the
value of the String, you know the start and end index of the
characters that you want.

$yourstring.substring(0, 6)

Or, you can just write "Tehpao"...

 adam

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

Reply via email to