String Operations

Character Strings

These operators and functions manage character strings:

Name

Operator / Function

ArrayToString / ArrayToStringU

Copies elements of a SINT array to a STRING.

ascii

Get the ASCII code of a character within a string.

AToH

Converts a string to an integer using hexadecimal basis.

char

Builds a single character string.

concat

Concatenate of strings.

CRC16

Calculates a CRC16 on the characters of a string.

delete

Delete characters in a string.

find

Find the position of characters in a string.

HToA

Converts and integer to a string using hexadecimal basis.

insert

Insert characters in a string.

left

Extract characters of a string on the left.

mid

Extract characters of a string at any position.

mlen

Get the number of characters in a string.

replace

Replace characters in a string.

right

Extract characters of a string on the right.

StringToArray / StringToArrayU

Copies the characters of a STRING to an array of SINT.

Manage String Tables

These functions manage string tables as resources:

Name

Description

LoadString

Loads a string from the active string table.

StringTable

Selects the active string table resource.