Given a string, this UDF replaces a substring given its starting index and
length with the given replacement string. If the the last argument is null, the specified
part of the string gets deleted.
B = FOREACH A GENERATE Stuff($0, 10, 4, 'Pie')
If $0 is "Chocolate Cake" then the UDF will return "Chocolate Pie"
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pig.EvalFunc
This callback method must be implemented by all subclasses. This
is the method that will be invoked on every Tuple of a given dataset.
Since the dataset may be divided up in a variety of ways the programmer
should not make assumptions about state that is maintained between
invocations of this method.