String Handling Built-In Functions


Built-In Function

Description

IBM i

Windows

Linux

RDML

RDMLX

Notes

BCONCAT

Concatenate strings with a blank character.

Y

Y

Y

Y

Y


BINTOHEX

Converts source field from binary to alphanumeric.

Y

Y

Y

Y

Y


CENTRE

CENTRE an argument string into a return string.

Y

Y

Y

Y

Y


CHECKNUMERIC

Check and convert an alpha string to numeric form.

Y

Y

Y

Y

Y


CHECKSTRING

Check a string only contains allowable values.

Y

Y

Y

Y

Y


CONCAT

Concatenate strings in full (no truncation).

Y

Y

Y

Y

Y


CONVERT_STRING

Converts a text string from one encoding to another.

Y

N

N

Y

Y


DECRYPT

Decrypts a string.

Y

Y

Y

Y

Y


ENCRYPT

Encrypts a string.

Y

Y

Y

Y

Y


FILLSTRING

Fill a field with occurrences of a string.

Y

Y

Y

Y

Y


FORMAT_STRING

Returns a character string which is built from an input Format Pattern.

Y

Y

Y

Y

Y


GET_KEYWORD_STRING

Get keywords and values from an ESF string.

Y

N

N

Y

N


HEXTOBIN

Converts source field from alphanumeric to binary.

Y

Y

Y

Y

Y


LEFT

Left align argument into return string.

Y

Y

Y

Y

Y


NUMERIC_STRING

Convert a number to a string.

Y

Y

Y

Y

Y


REVERSE

Reverse a text string.

Y

Y

Y

Y

Y


RIGHT

Right align argument into return string.

Y

Y

Y

Y

Y


SCANSTRING

Scan a string for first occurrence of a pattern.

Y

Y

Y

Y

Y


TCONCAT

Concatenate strings with trailing blanks truncated.

Y

Y

Y

Y

Y


UPPERCASE

Convert a string to uppercase characters.

Y

Y

Y

Y

Y


  • No labels