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

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


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?


Lavanya R