Cicode Programming Reference > Cicode Function Categories > String Functions Introduction > String Functions

String Functions

Following are functions relating to Strings:

CharToStr

Converts an ASCII code into a string.

HexToStr

Converts a number into a hexadecimal string.

IntToStr

Converts an integer variable into a string.

PathToStr

Converts a CitectSCADA path into a string.

RealToStr

Converts a floating-point variable into a string.

StrCalcWidth

Retrieves the pixel width of a string using a particular font.

StrClean

Removes control characters from a string.

StrFill

Fills a string with characters.

StrFormat

Formats a variable into a string.

StrGetChar

Gets a single character from a string or buffer.

StrLeft

Gets the left-hand characters from a string.

StrLength

Gets the length of a string.

StrLower

Converts a string to lower-case.

StrMid

Gets characters from the middle of a string.

StrPad

Pads a string to the required length.

StrRight

Gets the right-hand characters from a string.

StrSearch

Searches for a string within a string.

StrSetChar

Sets a single character into string or buffer.

StrToChar

Converts a string to an ASCII code.

StrToDate

Converts a string into a date variable.

StrToFmt

Converts a string into format fields.

StrToGrp

Converts a string into a group.

StrToHex

Converts a hexadecimal string into an integer.

StrToInt

Converts a string into an integer variable.

StrToLines

Converts a string into lines of limited length.

StrToLocalText

Converts a string from Native language to Local language.

StrToPeriod

Converts a string into a (time) period.

StrToReal

Converts a string into a floating-point variable.

StrToTime

Converts a string into a time variable.

StrToValue

Converts a string into a floating-point variable.

StrTrim

Trims spaces from a string.

StrTruncFont

Returns the truncated string using a particular font (specified by name) or the specified number of characters.

StrTruncFontHnd

Returns the truncated string using a particular font (specified by font number) or the specified number of characters.

StrUpper

Converts a string to upper-case.

StrWord

Gets a word from a string.

See Also

Cicode Functions