Entrypoint wordnum not compatible with UTF-8 - if needed please ask
Input CSTRING(32760) string, in which an other string is looked for INTEGER no. of string to find (n-ths word) CSTRING(31) word delimiter SMALLINT Output CSTRING(254) nth-word
Countinf for parameter 2 starts with 1. TestSQL SELECT 'ABC' AS ISORRECT, F_WORDNUM('ABC 123 45678 9123', 1, ' ', 0) FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_WORDNUM(NULL, NULL, NULL, NULL) FROM RDB$DATABASE;