| View previous topic :: View next topic |
| Author |
Message |
lay_z_boy00 Regular
Joined: 26 Jan 2004 Posts: 57
|
Posted: Jan 27th, 2004 05:04 AM Post subject: HELP (No. 2) |
|
|
ok this is my string "Microsoft Visual Basic" how do i get all three words seperate?
plz help |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Jan 27th, 2004 05:07 AM Post subject: |
|
|
| Code: | Private Sub Form_Load()
Dim Ar() As String
Dim i As Integer
Ar = Split(StrVarName, " ")
For i = 0 To UBound(Ar)
MsgBox Ar(i)
Next
End Sub |
_________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
Avis Junior Poster

Joined: 07 Oct 2003 Posts: 510 Location: India
|
|
| Back to top |
|
lay_z_boy00 Regular
Joined: 26 Jan 2004 Posts: 57
|
Posted: Jan 27th, 2004 05:08 AM Post subject: |
|
|
thx once again  _________________ Lay_Z_Boy00 |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Jan 27th, 2004 05:15 AM Post subject: |
|
|
No prob  _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
|