beautypg.com

Right function – Multichannel Systems NeuroExplorer User Manual

Page 309

background image

5.5.14.3. Right Function

Right Function


Returns a substring that ends at the end of the string.

Syntax


string Right(string, nchar)

Parameters

Parameter

Type

Description

string

string

String parameter.

nchar

string

Number of characters in the substring.

Returns


Extracts right nchar characters from string, returns string.

Comments


None

Usage

NexScript

sub = Right("abcdefg", 3)

% sub now is "efg"

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 307