You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Odelya Glick <od...@jpost.com> on 2007/12/10 10:59:58 UTC

Using substring and indexof in strings

Hi,

I was trying to use $entry.name.indexOf("hell") but it doesn't seem to work.
As well, substring method doesn't work.

What is the way to use strings functions?

Thank you




Re: Using substring and indexof in strings

Posted by Dave <sn...@gmail.com>.
The Java String indexOf() and substring() methods are working fine for me.

Do you have some specific examples that do not work?

- Dave



On Dec 10, 2007 4:59 AM, Odelya Glick <od...@jpost.com> wrote:
> Hi,
>
> I was trying to use $entry.name.indexOf("hell") but it doesn't seem to work.
> As well, substring method doesn't work.
>
> What is the way to use strings functions?
>
> Thank you
>
>
>
>