this is how to count a symbol in combobox. this case is symbol "-". so this is how to take it....
Dim Simbol As String = CmbDATA.Text
Dim Hitung As Integer = Simbol.Split("-").Length - 1
MsgBox("Jumlah Simbol '-' = " & Hitung & "", MsgBoxStyle.Information)
Dim Simbol As String = CmbDATA.Text
Dim Hitung As Integer = Simbol.Split("-").Length - 1
MsgBox("Jumlah Simbol '-' = " & Hitung & "", MsgBoxStyle.Information)
Comments
Post a Comment