I was working with DS field function and referred documentation in DS Help for that. It says that if delimiter is not present then a zero length string is returned:
But when I created some jobs with field function, it returned me the complete string for cases where delimiter is not present!In the following example SubString is set to "" since the delimiter "/" does not appear in the string.
MyString = "London+0171+NW2+AZ"
SubString = Field(Mystring, "/", 1) ;* returns ""
Is there some error in my implementation or field function works that way only and documentation is flawed? if documentation is indeed flawed then are there many other cases where it is so and how much can we rely on documentation then?
Please advise.