First Character as uppercase character
Posted: Mon Jan 07, 2008 2:29 pm
Which function in transformer do I need to use to find whether the first character of a string is upper case or not.
A short text to describe your forum
http://dsxchange.com./
Code: Select all
If (Left(InputLink.InputColumn,1) > CHAR(64) and Left(InputLink.InputColumn,1) < CHAR(91)) then 'Y' else 'N'
Ex: "1test" will give you 'N'
Ex: "test" will give you 'N'
Ex: "Test" will give you 'Y'
Code: Select all
If (Left(InputLink.InputColumn,1) = UpCase(Left(InputLink.InputColumn,1))) Then 'Y' else 'N'
Ex: "1test" will give you 'Y'
Ex: "test" will give you 'N'
Ex: "Test" will give you 'Y'