String Handling Built In Functions

LANSA Technical

String Handling Built-In Functions

Built-In Function

Description

BCONCAT

Concatenate strings with a blank character.

BINTOHEX

Converts source field from binary to alphanumeric.

CENTRE

CENTRE an argument string into a return string.

CHECKNUMERIC

Check and convert an alpha string to numeric form.

CHECKSTRING

Check a string only contains allowable values.

CONCAT

Concatenate strings in full (no truncation).

CONVERT_STRING

Converts a text string from one encoding to another.

DECRYPT

Decrypts a string.

ENCRYPT

Encrypts a string.

FILLSTRING

Fill a field with occurrences of a string.

FORMAT_STRING

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

GET_KEYWORD_STRING

Get keywords and values from an ESF string.

HEXTOBIN

Converts source field from alphanumeric to binary.

LEFT

Left align argument into return string.

NUMERIC_STRING

Convert a number to a string.

REVERSE

Reverse a text string.

RIGHT

Right align argument into return string.

SCANSTRING

Scan a string for first occurrence of a pattern.

TCONCAT

Concatenate strings with trailing blanks truncated.

UPPERCASE

Convert a string to uppercase characters.