One-liner - determine whether a string is alphanumeric
This one-line function returns whether or not a string consists of only the characters A-Z, a-z, and 0-9.
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.
源代码
Public Function AlphaNumeric(ByVal s As String) As Boolean AlphaNumeric = Not s Like "*[!A-Za-z0-9]*" End Function
原始评论 (3)
从 Wayback Machine 恢复