Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB7
Expertise: beginner
Sep 21, 2002

IsStringUpper - Determine whether a string contains only uppercase characters

' Returns True if a string contains only uppercase characters

Function IsStringUpper(ByVal sText As String) As Boolean
    Dim c As Char
    For Each c In sText
        If Not Char.IsUpper(c) Then Return False
    Next
    Return True
End Function
Francesco Balena
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date