checking alphabets in the transformer stage
Posted: Fri May 27, 2011 11:39 am
Hi
My Requirement is to remove the special characters and check if any alphabets are there and any numbers are there in a column.
i have used the following logic
If Alpha(Convert("~!@#$%^&*()_-+=|\}]{['':;?/>.<,`", "", Column1)) Or
Num(Convert("~!@#$%^&*()_-+=|\}]{['':;?/>.<,`", "", Column1)) Then 1 Else 2
if i use only convert function it is working fine but the alpha is giving a number of warnings like "APT_CombinedOperatorController,1: Null string argument.
it is comming in transformer stage
Could any body please help me in finding it out.
please consider it as priority.
My Requirement is to remove the special characters and check if any alphabets are there and any numbers are there in a column.
i have used the following logic
If Alpha(Convert("~!@#$%^&*()_-+=|\}]{['':;?/>.<,`", "", Column1)) Or
Num(Convert("~!@#$%^&*()_-+=|\}]{['':;?/>.<,`", "", Column1)) Then 1 Else 2
if i use only convert function it is working fine but the alpha is giving a number of warnings like "APT_CombinedOperatorController,1: Null string argument.
it is comming in transformer stage
Could any body please help me in finding it out.
please consider it as priority.