Private Sub Text1_Change()

Text2.text=" ada " & cstr(len(replace(Text1.text,"A","A*"))-len(Text1.
text)) & " huruf A"

End Sub

081342975471

--- In [email protected], 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
> 







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/
 


Kirim email ke