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.
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