Skip to Content
0
Former Member
Dec 06, 2006 at 05:18 PM

Java Simple

22 Views

How do you combine methods in one UDF...

For example I want to convert a string to lower case and the replace characters...

I have done the following code:

return a.toLowerCase();

return a.replace('a', 'z');

Yet I do not get the result I want.... The string is converted to lower case but it does not replace the characters...

So please let me know how I combine methods in a UDF...

So step 1 would be toLoawerCase

step 2 would be a.replace