S
State Troopers
Hi there,
I am need of some help for some text minipulation.
At this point, I am able to split text from a textbox at every 500th
character into an array.
But the problem is that this splits words apart.
The current code I am using is:
strArray(lngCount) = Mid$(strText, lngCount * lngLimit + 1, lngLimit)
I have also tried the following, but nothing gives.
strArray(lngCount) = Left(strText, InStrRev(Left(strText, lngCount *
lngLimit + 1), " "))
strArray(lngCount) = Mid$(strText, InStrRev(Left$(strText, lngCount *
lngLimit + 1), " "), lngLimit)
Thanks.
-State
I am need of some help for some text minipulation.
At this point, I am able to split text from a textbox at every 500th
character into an array.
But the problem is that this splits words apart.
The current code I am using is:
strArray(lngCount) = Mid$(strText, lngCount * lngLimit + 1, lngLimit)
I have also tried the following, but nothing gives.
strArray(lngCount) = Left(strText, InStrRev(Left(strText, lngCount *
lngLimit + 1), " "))
strArray(lngCount) = Mid$(strText, InStrRev(Left$(strText, lngCount *
lngLimit + 1), " "), lngLimit)
Thanks.
-State