Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logic help
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Logic help
Environment versions
Environment:
VB 9.0
Miscellaneous
Thread ID:
01466186
Message ID:
01466186
Views:
93
Hi all,

It is late and my brain is not functioning... based on the following example the If statement should set my array but it does not...
Dim i As Integer = 0
Dim oReturn As Array = Array.CreateInstance(GetType(String), 5)

mAddress1 = "744 MILLER DR"
mCity = ""

If (Not mAddress1.Trim().Equals(String.Empty)) And (Not mAddress1.Trim().StartsWith(mCity.Trim())) Then
                oReturn.SetValue(mAddress1.Trim(), i)
                i = i + 1
End If
Thank you,
Daniel
Next
Reply
Map
View

Click here to load this message in the networking platform