Re: string:substring

2002-02-14 Thread Alberto Bolchini
Hi Bay Thanks a lot for the quick and active response. I like point 1 to 3, I think they might be useful. Concerning What should happen if a start index larger than the end index is given? I would expect it to silently return with an empty string, I think this could be coherent and not

string:substring

2002-02-13 Thread Alberto Bolchini
Hi. Is there a way to use a string:substring on a string of unknown length without falling in the Exception of out of range index? I would need a END which is the min(END,string.length()) Thanx. alberto -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: string:substring

2002-02-13 Thread Alberto Bolchini
Hi Bay, sorry for being too concise. I would like to write: str:substring start=1 end=150html:write property=xyz/str:substring without knowing weather getXyz() will return at least 150 characters or not. At the moment, if the property is empty or has less than 150 characters I get an