Skip to Content
avatar image
Former Member

Error in mapping

Hello friends,

I need to know the length of a string, so I used a simple UDF and it's throwing error.

I gave the argument a as string

Then added this code

int len=a.length();

return len;

This UDF I mapped to the target, but I am getting error

Could you please tell me why this is not working

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 16, 2011 at 12:25 PM

    wH you want UDF, use standard function LENGTH . it will work.

    Add comment
    10|10000 characters needed characters exceeded