VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Remove several chars

Brian Kristensen  (1 Submission)   Miscellaneous   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

It removes a set of chars from a string, by using ParamArray, it is very simple! It was submitted as a alternative to another submission : https://www.vbcoders.com/vb/scripts/showcode.asp?txtCodeId=39842&lngWId=1

Inputs
Text, char1, char2 .... etc.

Assumes
It is simple and fast

Returns
It returns the string without the chars that is defined.

Side Effects
No

Rate Remove several chars (4(4 Vote))
Remove several chars.bas

Remove several chars Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters