VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A CountChar Better than looping through a string

[])utch[]v[]aster  (18 Submissions)   String Manipulation   VB Script   Beginner   Wed 3rd February 2021

It used to be, when I wanted to count the number of times a charector appeared in a string, I would loop through the string letter by letter and keep a count. I have replace my old methodolgies with this one, which also allows you to search for substrings (more than 1-digit long)

Rate A CountChar Better than looping through a string (7(7 Vote))
A CountChar Better than looping through a string.bas

A CountChar Better than looping through a string Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters