Left function – Multichannel Systems NeuroExplorer User Manual

Page 307

Advertising
background image

5.5.14.1. Left Function

Left Function


Returns a substring that starts at the beginning of the string.

Syntax


string Left(string, nchar)

Parameters

Parameter

Type

Description

string

string

String parameter.

nchar

number

Number of characters in the substring.

Returns


Returns a substring that starts at the beginning of the string.

Comments


None

Usage

NexScript

sub = Left("abcdefg", 3)

% sub now is "abc"

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 305

Advertising