meta data for this page
  •  

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'