Skip to Content
0
Former Member
Sep 25, 2008 at 12:13 AM

Take values before comma

1458 Views

Hi folks

I need help in a context udf : pass arrays

Source field:

Array of values

Sun is bright,Moon shines

Ball is blue,table is brown

If we see there is a comma in source field and we pass an array of source values to a udf

In target i have 2 fields.

I want to extract the values from source before comma and map to the first target field

and the text after comma in the second target field.

Is it achievable in XI and I am not good in writing java udfs.

Help will be appreciated.

Thnx