meta data for this page
F_PADRIGHT
compatibility to FreeUDFLib, FreeUDFLibC, FreeUDFLib AvERP, GrUDF
Entrypoint padright not compatible with UTF-8 - use U_PADRIGHT
U_RPADRIGHT
function from adhoc
Entrypoint u_padright compatible with UTF-8
Inputs/Outputs
Input CSTRING(4095) String 1, filled up right with the indications from string 2 to the length of CSTRING(16) parameter 3 INTEGER String 2 to fill up with Length of the string, up to which is to be filled up Output CSTRING(4095) String 1 right filled up from the string with the indications from string 2 to the overall length of indications of parameter 3
F_RPADRIGHT
input/output-compatibility to rFunc (PADRIGHT, LONGPADRIGHT)
Entrypoint r_padright not compatible with UTF-8 - use U_PADRIGHT
Inputs/Outputs
Input CSTRING(4095) String 1, filled up right with the indications from string 2 to the length of INTEGER parameter 3 CSTRING(16) Length of the string, up to which is to be filled up String 2 to fill up with Output CSTRING(4095)
Syntax
If you enter more than one character in string 2, the filling with characters of string 2 starts from right and abort, if the required number of the complete characters will be reached. (Look at. 2. TestSQL) TestSQL SELECT 'Dies ist ein TestXXX' AS ISCORRECT, F_PADRIGHT('Dies ist ein Test', 'X', 20) FROM RDB$DATABASE; SELECT 'Dies ist ein TestXxX' AS ISCORRECT, F_PADRIGHT('Dies ist ein Test', 'Xx', 20) FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_PADRIGHT(NULL, NULL, NULL) FROM RDB$DATABASE;