sright

<< srand | FB 2.5 Language Reference | string2blob >>
<< srand | FB 2.1 Language Reference | string2blob >>

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'

back to top of page
<< srand | FB 2.5 Language Reference | string2blob >>
<< srand | FB 2.1 Language Reference | string2blob >>