Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

String Analsys

hi
fine here,
How can i make this in VB6 ?
dim NewWord as string, W1 as String, W2 as String, W3 as string
NewWord = "strong|network|lineup"
'returns >

W1 = strong
W2 = network
W3 = lineup
thanks all of ur team.
[283 byte] By [LiveSys] at [2007-11-11 10:24:40]
# 1 Re: String Analsys
You cannot do exactly that in VB6, but you can do this:

Dim NewWord As String
Dim Words() As String

NewWord = "strong|network|lineup"
Words = Split(NewWord, "|")

' returns:
' Words(0) = "strong"
' Words(1) = "network"
' Words(2) = "lineup"
Phil Weber at 2007-11-11 17:22:45 >
# 2 Re: String Analsys
Oh , thanks
GR8
thanks ones again.
Really my work very easy
after your prompt reply.

goodby frnd.
take care.
LiveSys at 2007-11-11 17:23:44 >