|
-
Sep 30th, 2000, 06:56 AM
#1
Thread Starter
Ex-Super Mod'rater
How do I split up a string into 3 sections i.e. I have a text box ( TextF ) which consists of four numbers then four letters then four numbers. How can I make it so that the first set of numbers is put in one textbox ( Text1 ), and the set of letters is put in another textbox ( Text2 ) and finally the last set of numbers are put in another textbox ( Text3 ).
This shows the start and result I am after.
Code:
TextF = 9583ABNF3746
'<<<<<<<code I need>>>>>>>>
'this is the result I need...
Text1 = 9583
Text2 = ABNF
Text3 = 3746
can anyone help??
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
Sep 30th, 2000, 07:21 AM
#2
_______
<?>
Text1=left(TextF,4)
Text2=Mid(Textf,5,4)
Text3 = Right(TextF(4)
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Sep 30th, 2000, 07:25 AM
#3
Thread Starter
Ex-Super Mod'rater
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|