Asp test if alphabetic

Maperdolo

New Member
I am new in asp becouse I usaly use aspxI use function that should loop through all chars of string and delete all chars that are not numbers or alphabet chars. The line\[code\]If sChar Like "[0-9A-Za-z]" Then\[/code\]return error: Sub or Function not defined \[code\]MM_folder_vpisan = "fdvddvsd.-,???"For lCtr = 1 To Len(MM_folder_vpisan) sChar = Mid(MM_folder_vpisan, lCtr, 1) If sChar Like "[0-9A-Za-z]" Then sAns = sAns & sChar End If Next\[/code\]
 
Top