|
I'd start at the 25th character and work back until I found the first space. Then you split the text up at that position. Much simpler than scanning forward. It's quite possible you truncate characters doing this. If you have all 50 characters filled with words and you backed up a few characters to break on a space into the second 25 character field you'd end up losing a few characters on the end of the 50 character string. Paul
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.