Return to Snippet

Revision: 25227
at March 24, 2010 03:01 by CaptainProton


Updated Code
Public Function isLetter(str As String)
  isLetter = (InStr(1, "abcdefghijklmnopqrstuvwxyz", LCase(str)) > 0)
End Function

Revision: 25226
at March 24, 2010 02:59 by CaptainProton


Initial Code
Public Function startsWithLetter(str As String)
  isLetter = (InStr(1, "abcdefghijklmnopqrstuvwxyz", LCase(str)) > 0)
End Function

Initial URL


Initial Description
This method checks whether a given string is a letter (no umlauts).
The string should only be one character.

Initial Title
isLetter(String)

Initial Tags


Initial Language
Visual Basic