Advertisement
ASP_Volume2 String Manipulation #34382

Check for extended ASCII

Checks to make sure the contents of a TextBox or String are only standard ASCII; If it has any extended ASCII, the function will return False.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Function Valid_ASCII(Text As String)
 For x = 1 To Len(Text)
  If Asc(Mid(Text, x, 1)) > 126 Or Asc(Mid(Text, x, 1)) < 32 Then
   Valid_ASCII = False
   Exit Function
  End If
 Next x
 Valid_ASCII = True
End Function
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine