Hi,
Yes, if end_index is greater then string.length then end_index is ignored. I agree with you that it should instead through an exception.
The service seudo code goes like this
if (begin_index == null || begin_index.length == 0 ) then
begin_index = 0
if (end_index == null || end_index.length == 0 || end_index.length > string.length)
then
return (string.subString(begin_index)
else
return (string.subString(begin_index, end_index))
Ram Challuri
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB