Getnumfields function – Multichannel Systems NeuroExplorer User Manual

Page 314

Advertising
background image

5.5.14.8. GetNumFields Function

GetNumFields Function


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

Syntax


GetNumFields(stringWithFields)

Parameters

Parameter

Type

Description

stringWithFields

string

The string containing fields. The field is a substring
that does not contain spaces, tabs or commas.

Returns


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

Comments


None

Usage

NexScript

numFields = GetNumFields("One two 3 4")

% numFields is now equal to 4

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 312

Advertising