@Hlaaftana > string is compatible with openarray[char]
Interesting. Is that guaranteed and stated in the manual? @Javi There may be indeed ways to simplify your source code by using auto keyword or by using typeof(param) as type for the result. I think I have used that somewhere, will try. But for each different array size that is used a own proc is instantiated.
