Judging whether there is Chinese characters in characters or strings

xiaoxiao2021-03-06  60

Judging whether there is Chinese characters in characters or strings

Public Bool Ischina (String CString)

{

Bool boolvalue = false;

For (int i = 0; i

IF (Convert.TOINT32 (CSTRING.SUBSTRING (I, 1)))

{

BoolValue = false;

}

Else

{

BoolValue = true;

}

}

Return boolvalue;

}

转载请注明原文地址:https://www.9cbs.com/read-112321.html

New Post(0)