Subject RE: [firebird-support] Setting VARCHAR length in a FB UDF
Author Dmitry Yemanov

> Could someone please tell me the proper way to set the length of a
> VARCHAR return value in a (FireBird 1.5 RC4) UDF function?

IMHO, it's much easier to use CSTRING type for the UDF arguments instead of
VARCHAR. Just use C-style (zero-terminated) strings and forget about all
your issues.