Given an ‘n’ character string, the pub.string:substring service in webMethods returns an empty string when I ask for substring with beginIndex=n and endIndex>n … shouldn’t this be giving me a StringIndexOutOfBoundsException ???
for beginIndex=(n+1) and onward it gives StringIndexOutOfBounds … which is fine.
Could someone please explain if this is the programmed behavior of this service and if so what is the logic in doing so?