Hi all,
I am running into a limitation of the if() command because it will only return a float type, where it would useful to be able to return a string type at at times.
e.g., I want to do this:
`if( $F==1, “*”, “” )`
..so can I propose the addtion of a function called ifs() - a string return type if() function?
`ifs( $F==1, “*”, “” )`
Luckily, because I need only one character in this case, I can do this…
`substr(“ *”, $F==1, 1)`
But I've run into this situation a LOT. Does anyone have any other methods for conditionally selecting strings inside of expressions? The above method falls over with variable length strings.
Thanks,
Jason


