String Functions

Lists the string functions available for use in the Newlook development environment.

Function

Description

Asc

Return the ASCII code of a character.

Chr

Return a character from an ASCII code.

CSet

Return a centered string.

Format

Formats a numeric expression and returns it as a string.

InStr

Find the index of the first occurrence of a string within another.

LCase

Convert a string to lower case.

Left

Return the left-most portion of a string.

Len

Return the length of a string.

LSet

Left aligns a string within a fixed width.

LTrim

Trim characters from the left side of a string.

Mid

Return the middle portion (sub-string) of a string.

Replace

Replace a sub-string with another string.

Right

Return the right-most portion of a string.

RSet

Right-aligns a string within a fixed width.

RTrim

Trim characters from the right side of a string.

Space

Return a fixed-length string containing spaces.

String

Fills a fixed-length string with a repeated sub-string.

TCase

Convert a string to “title” case.

Trim

Trim characters from both sides of a string.

UBound

Return the number of items in an array expression.

UCase

Converts string to upper case.

TIP:

Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.

See Also

Conversion functions | Date and Time functions | Inspection functions | International functions | Math functions | Program flow functions | System functions | Functions


© 2004-2021 looksoftware. All rights reserved.