Thursday, November 29, 2018

Simple Program to get the character count in a string using VBScript

=>here is the Simple Program to get the character count in a string using VBScript.

program:

Str="uzumaki naruto"

MsgBox len(Str) - len(replace(Str, "a", ""))

'Note: simply replace the "uzumaki naruto" with your string in quotes and "a" value with the character you want. it will work.

1 comment:

  1. You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!. https://charactercount.org

    ReplyDelete