vbnet check if sting contians symbols

The solution for “vbnet check if sting contians symbols” can be found here. The following code will assist you in solving the problem.

If MyString.IndexOfAny(“[~`[email protected]#$%^&*()-+=|{}’:;.,<>/?]”.ToCharArray) <> -1 Then
MsgBox(“No Symbols!”)
End If

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts