Posted By

CaptainProton on 03/24/10


Tagged

character String letter


Versions (?)

isLetter(String)


 / Published in: Visual Basic
 

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

  1. Public Function isLetter(str As String)
  2. isLetter = (InStr(1, "abcdefghijklmnopqrstuvwxyz", LCase(str)) > 0)
  3. End Function

Report this snippet  

You need to login to post a comment.