By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,650 Members | 812 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,650 IT Pros & Developers. It's quick & easy.

How to Check if character is Uppercase

P: 1
This is my code so far::

Dim Array(7) As Char
Dim myman As String = TextBox1.Text
Dim capcount As Integer = 0

Array = myman.ToCharArray


If TextBox1.Text = TextBox2.Text Then
If TextBox1.Text = "" Then
MessageBox.Show("mhm")
Stop
End If
For i = 0 To 7
If Char.IsUpper(Array, i) Then
capcount = capcount + 1
End If
Jan 28 '19 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.