adding lastIndexOf() function to standard runtime functions