meta data for this page
F_STRREPEAT
input/output-compatibility to rFunc (STRREPEAT, LONGSTRREPEAT)
Entrypoint strrepeat compatible with UTF-8
Inputs/Outputs
Input CSTRING(254) String to repeat SMALLINT count of appearance Output CSTRING(8190) String 1 with parameter 2 times appearances
Syntax
You have to look that the output is not greater than the declaration! TestSQL SELECT 'TestTestTest' AS ISCORRECT, F_STRREPEAT('Test', 3) FROM RDB$DATABASE; SELECT '' AS ISCORRECT, F_STRREPEAT('Test', 0) FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_STRREPEAT(NULL, NULL) FROM RDB$DATABASE;