String functions – Multichannel Systems NeuroExplorer User Manual

Page 306

Advertising
background image

5.5.14. String Functions


The following string functions are available in NexScript

Function

Description

Left

Extracts substring from the left part of the string, returns string.

Mid

Extracts substring from the middle of the string.

Right

Extracts substring from the right part of the string.

Find

Looks for a substring inside the specified string.

StrLength

Calculates the number of characters in the string, returns
number.

NumToStr

Converts a number to string using optional format, returns string.

StrToNum

Converts string to number.

GetNumFields

Returns the number of fields in the string. The field is a substring
that does not contain spaces, tabs or commas.

GetField

Returns the field with the specified field index.

CharToNum

Converts a one-character string to a number (a character's
ASCII code).

NumToChar

Converts a number to a one-character string containing the
character with the ASCII code equal to the number.

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 304

Advertising