Of course, they're not really that new -- they've been around a bit but I've never really had a reason to use them. I had my old "ParseToArray" function that did just the same thing as one, and the other -- well, its a simple enough loop.
They are cool though, and I think once you try them you'll use them too:
Split() -- Will take any text string and return an array based on parsing the line with a specific separating character or string. It works like @Explode()
Join() -- Will take an array and return a string, just like @Implode()
Cool, hunh?
Comment Entry |
Please wait while your document is saved.