>yes hilmar thanks, as always!!!
You are welcome.
Depending on your exact requirements, you may also need type conversion (usually, convert everything to character).
A primitive type conversion can be done with transform().
For a more sophisticated type conversion, you may want to write a small UDF, with a DO CASE.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)