mas ahmad,
coba rangkaian coding berikut:
ab = Len(Me.Label0.Caption)
tothuruf = 0
searchhuruf = "a"
For i = 1 To ab
If Mid(Me.Label0.Caption, i, 1) = searchhuruf Then
tothuruf = tothuruf + 1
End If
Next i
Me.Label1.Caption = "jumlah huruf '" & searchhuruf & "' = " & tothuruf
armadya
AHMAD SUDRAJAT <[EMAIL PROTECTED]> wrote:
Halo semua salam kenal !!
Saya punya pertanyaan nih, tolong bantu ya
Gimana cara mencari jumlah karakter tertentu dalam TextBox
Misal dalam TextBox1 "INDONESIA RAYA"
Maka di Textbox2 otomatis ada tulisan " ada 3 huruf A"
Mohon bantuannya
Terima kasih
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2¢/min or less.
[Non-text portions of this message have been removed]
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Ikuti juga forum diskusi VB.net dengan
mengirim email kosong ke [EMAIL PROTECTED]
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "indoprog-vb" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo!
Messenger with Voice.
[Non-text portions of this message have been removed]
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Ikuti juga forum diskusi VB.net dengan
mengirim email kosong ke [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indoprog-vb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/