Skip to Content
0
Jul 02, 2015 at 06:15 AM

UDF to identify if a field has hyphen in it or not

58 Views

Hi All,

I need some help in writing a UDF function for one of my mapping. I have a numeric field, which may sometimes have hyphen in it and sometimes not.

My requirement is to check if this field has a length of 9 and has no hyphens in it. Can this check be done using standard mapping or if a UDF needs to be written can you help me out with the UDF?

Regards,

Lavanya R