devxlogo

IsStringLower – Determine whether a string contains only lowercase characters

IsStringLower – Determine whether a string contains only lowercase characters

' Returns True if a string contains only lowercase charactersFunction IsStringLower(ByVal sText As String) As Boolean    Dim c As Char    For Each c In sText        If Not Char.IsLower(c) Then Return False    Next    Return TrueEnd Function

devx-admin

Share the Post: