Code archives/Algorithms/SmartStrip

This code has been declared by its author to be Public Domain code.

Download source code

SmartStrip by AntonyWells2004
Removes any multiple occurances of strip$.
For example.
String$=";This;Is;Just;;;;;A;;;Test;

Print SmartStrip(string,";")

output = "This;Is;Just;A;Test"

Useful for parsers mostly I guess.
Delete them all next time.

Comments

None.

Code Archives Forum