Entrypoint linewrap not compatible with UTF-8 - use U_LINEWRAP
Entrypoint u_linewrap compatible with UTF-8
Input CSTRING(32760) String INTEGER starting position INTEGER measure Output CSTRING(32760) Spends all words of the string, begin with the initial position, which are all not longer than the measure.
Counting starts with 0. TestSQL SELECT 'alle einer Geburtstagsparty' AS ISCORRECT, F_LINEWRAP('Wir gehen alle einer Geburtstagsparty', 10, 30) FROM RDB$DATABASE; SELECT 'alle einer' AS ISCORRECT, F_LINEWRAP('Wir gehen alle einer Geburtstagsparty', 10, 29) FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_LINEWRAP(NULL, NULL, NULL) FROM RDB$DATABASE;