Results 1 to 5 of 5

Thread: Split string? [Resolved]

Threaded View

  1. #1

    Thread Starter
    Registered User
    Join Date
    Apr 2003
    Location
    Klang, Selangor, Malaysia
    Posts
    163

    Question Split string? [Resolved]

    How can I split text inside a Textbox into a few strings, where each string can only contains exactly 5 characters?

    How to avoid splitting a word into 2? for example:
    origianal text is: "ONE HUNDRED NINETY"
    after spliting:
    1st string: "ONE H"
    2nd string: "UNDRE"
    3rd string: "D NIN"
    4th string: "ETY"
    can it detect is it's a word, it would not split it into 2? means it will stop at the space before the word, and push the word to next new string?

    pls guide thank you
    Last edited by albertlse; Aug 21st, 2003 at 07:55 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