|
-
Mar 31st, 2010, 09:03 AM
#1
Thread Starter
Junior Member
[RESOLVED] Get the string index from textbox to msflexgrid
Me have a textbox with a sentence "please inform me before evening". The sentence length is not fixed, can change by user anytime.
My point is how to put 1st, 3rd, 5th index to msflexgrid 1. Which is : please me evening. 2nd and 4th index to flexgrid 2. Which is : inform evening.
-
Mar 31st, 2010, 09:20 AM
#2
Re: Get the string index from textbox to msflexgrid
"My point is how to put 1st, 3rd, 5th index" I think you meant word instead of "index" (which means something completely different). Use Split command to split the entire text into an array.
Dim strWords() As String
strWords = Split(Text1.Text, " ")
Then each word will be a separate element of the array, strWords(0) will be "please", (1) "inform" etc..
-
Mar 31st, 2010, 10:27 AM
#3
Thread Starter
Junior Member
Re: [RESOLVED] Get the string index from textbox to msflexgrid
Tags for this Thread
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
|