In API 1.0 I had a code like this:
Dim mystring As String = "tomatoes,pears,apples"
Dim t As String = NthField(mystring, ",", 2)
and now with API 2.0 I must write:
Dim mystring As String = "tomatoes,pears,apples"
Dim t As String = mystring.NthField(",", 2)
In API 1.0 I could also write (in a single line):
Dim t As String = NthField("tomatoes,pears,apples", ",", 2)
but now with API 2.0 I cannot write
Dim t As String = "tomatoes,pears,apples".NtField(",", 2)
but I can write in a single line
Dim t As String = Str("tomatoes,pears,apples").NthField(",", 2)
Is it normal? Is it a bug?
Is it the way it should be?
I am a bit lost with this.