Hi, is there any function in the libraries of fpc for splitting a string into an array naming the separator? In awk for eample if you do this: split("ab-cd-ef", x, "-") print x[2] it would split up the first string using "-" as separator and print cd to the output. That's what I'm searching for. In pascal. ;) TIA, Marc