|
Prev: Database Entry Comparison
Next: Delimiter (NOT)
From: Vetal SPb on 23 Jun 2008 23:16 Can I change the default delimiter for array and list functions in configuration file? I don't want to use the delimiter as parameter in function.
From: Eivind on 25 Jun 2008 02:40 Vetal SPb skreiv: > Can I change the default delimiter for array and list functions in configuration file? I don't want to use the delimiter as parameter in function. No. Not directly. But you can make your own functions that do the same thing as existing functions, but with different default delimiters, for example: <cfscript> function myListGetAt(list,pos){ return ListGetAt(list,pos,';'); } </cfscript> You can also often sensibly store stuff in objects, and have the accessor-methods deal with details like list-delimiters. It depends on the spesifics of your problem. Eivind Kj�rstad
|
Pages: 1 Prev: Database Entry Comparison Next: Delimiter (NOT) |