Results 1 to 3 of 3

Thread: [RESOLVED] Split by count of characters

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2007
    Posts
    278

    Resolved [RESOLVED] Split by count of characters

    I want split text by count of characters to arLines for example:
    Original text:
    AAAAAAAAAAAAAA
    Splited text by 3 characters:
    AAA
    AAA
    AAA
    AAA
    AA
    Now I'm using this:
    arLines = Split(Test1.Text, "x")
    For i = 0 To UBound(arLines)
    'Misc code
    Next i
    This works good but before spliting I have put "x" every 3 characters in Textbox.
    So maybe there is an way how can I split text by count to arLines not by "x" ?
    Last edited by Lauriux1; May 20th, 2007 at 09:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width