How to generate a list or array with fixed values ?
Is it possible to create a list or array with fixed values, but with a variable length ?
for example:
var columns = "name, age, function";
var insertParams = generateList( listLen(columns), ",","?" );*
makes: insertParams = "?,?,?"
*(this function doesn't exist. It's just to illustrate what i need)
I know that this function is easely created by creating a loop, but i was wondering if this was possible with just one line of code.
Thanks