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

AVEVA™ XR Studio

sstring

  • Last UpdatedSep 05, 2024
  • 1 minute read

This topic is about the SSTRING data type.

Value syntax

This is a text

Description

Used by properties that contains text-like label representations.

Attributes

These are the attributes for SSTRING.

Attribute

Type

Description

contains(SSTRING)

sbool

Returns true if string contains the given exact text, including character case.

containsIgnoreCase(SSTRING)

sbool

Returns true if string contains the given text without considering character case.

indexOf(SSTRING)

sint

Index of first occurrence of given text. Not found = -1

indexOf(SSTRING,SINT)

sint

Index of first occurrence of given text from given index. Not found = -1.

isEmpty

sbool

Return true if the value is empty (value = “”).

isModified

sbool

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

length

sint

Length of the string.

replace(SSTRING,SSTRING)

sstring

Returns a new string in which all occurrences of the first specified string in the current instance are replaced with the second specified string

split(SSTRING)

mstring

Splits the string into substrings basing on specified characters.

substring(SINT)

sstring

Returns a new string that contains the substring from given index.

substring(SINT,SINT)

sstring

Returns a new string that contains the substring from given index of given length.

toLower()

sstring

Returns a new string that contains the original string with all lowercase characters.

toUpper()

sstring

Returns a new string that contains the original string with all uppercase characters.

append(SSTRING)

sstring

Returns a new string that contains the original string followed by the specified SSTRING.

trim()

sstring

Returns the string value trimmed (remove all the leading and trailing spaces in the string).

type

sstring

Returns the type name.

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