Fix string exception in near of ParserUtil

- Java String's 2nd and 3rd actor parameter are offset/length instead of  begin/end

Signed-off-by: Wang Xu <gnawux@gmail.com>