I see there are some builtin string functions, but I don't know how to use them. I got this error when I follow the examples:
grunt> REGEX_EXTRACT_ALL('192.168.1.5:8020', '(.*)\:(.*)'); 2011-01-12 19:34:23,773 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error during parsing. Encountered " <IDENTIFIER> "REGEX_EXTRACT_ALL "" at line 1, column 1. Thanks.