Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

mstring

  • Last UpdatedSep 05, 2024
  • 1 minute read

This topic is about the MSTRING data type.

Value syntax

First text,Second text

Description

Comma-separated array of string values. Take care with the comma-based separation.

Attributes

These are the attributes for MSTRING.

Attribute

Type

Description

[i] or elementAt(i)

sstring

Used to obtain a single indexed value.

add(text)

mstring

Returns a copy of the MSTRING and adds a new entry as last element of the array.

contains(text)

sbool

Returns True if one or more entries in the list are equal to the passed text.

isModified

sbool

Set to True in the frame where the value of this field is modified.

length

sint

Returns the number of elements.

type

sstring

Returns the type name.

rem(text)

mstring

Returns a copy of the MSTRING and removes the first entry in the array that matches the specified text.

setElementAt(SINT,VALUE)

mstring

Returns a copy of the MSTRING and overrides the element at the specified index with the specified value.

insertElementAt (SINT,VALUE)

mstring

Returns a copy of the MSTRING and inserts the specified value at the specified index.

remElementAt(SINT)

mstring

Returns a copy of the MSTRING and removes the element at the specified index.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in