VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

String trimmer

RyMon  (1 Submission)   String Manipulation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Just a little snip of code that lets you trim a specified number of characters from either side of a string.

Inputs
Inputs are (in order): data to trim from, number of characters from left side, number of characters from right side

Returns
The new string, w/o trimmed characters

Rate String trimmer (3(3 Vote))
String trimmer.bas

String trimmer Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters