Firebird Documentation Index → Firebird 2.1 Language Ref. Update → External functions (UDFs) → sright |
Library: fbudf
Added in: 1.0 (Win), 1.5 (Linux)
Better alternative: Internal function RIGHT()
Description: Returns the rightmost numchars
characters of the input
string. Only works with 1-byte character sets.
Result type: VARCHAR(100)
Syntax:
sright (str
,numchars
)
Declaration:
DECLARE EXTERNAL FUNCTION sright VARCHAR(100) BY DESCRIPTOR, SMALLINT, VARCHAR(100) BY DESCRIPTOR RETURNS PARAMETER 3 ENTRY_POINT 'right' MODULE_NAME 'fbudf'
Firebird Documentation Index → Firebird 2.1 Language Ref. Update → External functions (UDFs) → sright |