hi,
i need to for the presence of extended characters in a field, how can i probably do that?
please help
how to check for the presence of extended characters
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
You need to take each charater of your string and then convert it to in ascii and check the values of it.
You can get the logic in one of the post how to break the string into the characters and converting it into the ascii...
You can get the logic in one of the post how to break the string into the characters and converting it into the ascii...
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Since you already know that the Seq() function returns the ASCII code associated with any character, the answer should be obvious. You need to create a routine that checks each character individually.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.