cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping global variables

Former Member
0 Kudos

Hi,

I have written a UDF which returns data in the form of a string with comma ',' seperated.

I wanted to get each value seperately and directly map them to the output data type.

Is it possible to seperate the string that is comma seperated and pass them into Global variables and use global variables to directly map with reciever datatype?

Or is there any other method to handle this using other existing functions to split the returned value?

Please help. Thanks in Advance

Rohan.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

..

Former Member
0 Kudos

Hi,

This can be done with a split function.

refer the below link

Former Member
0 Kudos

Hi,

Is it possible to seperate the string that is comma seperated and pass them into Global variables and use global variables to directly map with reciever datatype?

I think Java mapping is good for this scenario....

Regards,

Vivek LR

Former Member
0 Kudos

Hi,

You have to use StringTokenizer Class in java it will eleminate delemiter. Else use substring to get the "," and keep in global variable as you like. You can do both ways.

Thanks,

RamuV