Hi,

I need to create a user defined function to perform a
sanity check on an alphanumeric field , which should only
allow alphabets. It should return a code if the input is
alphabetic or not & also needs to consider special
characters.

It's urgent, need to do this today , pls help or share
the code incase anybody has already implemented it.

Thanks & regards,
Mercy



Hi, I need to create a user defined function to perform a sanity check on an alphanumeric f..

Answer / namrata

Put the input in a string variable. Then for each character
in the string, check its ASCII value...if its falls within
65 to 90(for capital alphabets-A to Z) or 97 to 122(for
small letters-a to z) then it is alphabetic. Else it is not.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Everything Else AllOther Interview Questions

sir im going for write bank of baroda pos entrance exam how many months taken for held the results thank you sir...........

0 Answers  


what can you contribute to this company?

0 Answers  


what is the difference between scripting language and programming language.?

1 Answers   Amdocs,


what do you know about this company ?

0 Answers  


AFOTIGWIYUNOR kindly arrange in three words

0 Answers  






SHOULD RAHUL DRAVID REMAIN THE CAPTAIN OF INDIAN TEAM

2 Answers  


what is hi... meaning

0 Answers  


how much do you expect if we offer you this job?

2 Answers  


hi does any one know about " multilabs india "..i got job offer in that company through backdoor process..But im afraid to join in backdoor,..please tell me about multilabsindia ..shall i join or not ??

0 Answers  


which of the following is known as "vegetative fertilization"? 1.Generative fertilization 2.Syngamy 3.triple fusion 4.Fusion of one male gametophyte with oospore

1 Answers   ABC, Banking, SSC,


.WHO RECEIVED THE RAJIV GANDHI KHEL RATNA AWARD,2012?

1 Answers  


who is our first indian test team captain. who is our first indian odi team captain.

0 Answers  


Categories