I have the following problem :
I want to generate an url that contains a list.
In the description of the API it says that single list elements have to be separated with " PHP_EOL ".
Little example :
Code: Select all
;PHP_EOL.s = #LFCR$
;PHP_EOL.s = #CR$
;PHP_EOL.s = #LF$
;PHP_EOL.s = #CRLF$
PHP_EOL.s = "\n"
NewList Part.s()
PartList.s = "&elements="
AddElement(Part()) : Part() = "Item1"
AddElement(Part()) : Part() = "Item2"
AddElement(Part()) : Part() = "Item3"
ForEach Part()
PartList + Part() + PHP_EOL
Next
Url.s + "&elements=" + PartList
(But the url has all elements... I guess it's this separator)
Any suggestions on how I can solve the problem?