Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15213

Simple Split

$
0
0
Hi, probably a simple question, i used to work alot with VBA.. where we can do a simple split. But with .net its seems to be different:rolleyes:.

Code:

Dim mlist As Object 'noticed "variant doesnt exist
Dim month As String

mlist = Split("M1";"M2";"M3";"M4";"M5";"M6";"M7";"M8";"M9";"M10";"M11";"M12", ";")


Dim currMonthNum As Integer = api.Time.GetPeriodNumFromId(api.Pov.Time.MemberId)
    If currMonthNum = 3 Then
                For Each month In mlist"
                'blablablbabalb

                Next


Viewing all articles
Browse latest Browse all 15213

Trending Articles