by Fernando Higa (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
Splits a string in two or more parts so they can fit in a given space, but only take into account complete words.
Assumes
This example uses the InStr function in order to work backwards and then the main routine will split the string.
I have used these routines for the total amount in letters for receipts. The zipped file includes the code with an example.
Code Returns
Two or more strings with complete words with some maximum size.
Side Effects
None.
Upload