Angel's Home
"Knowing is not enough, you must apply. Willing is not enough, you must do."
Monday, January 26, 2015
How to check double byte (Simple Way)
//TEmpVar ==> Text
//ASCIIText ==> Integer
TempVar := 'Special Characters (Kanji,Chinese,etc)';
ASCIIText := TempVar[1];
IF ((ASCIIText > 128 ) AND (ASCIIText < 160)) OR
((ASCIIText > 223 ) AND (ASCIIText < 240))
THEN
MESSAGE('double byte');
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)