String

 

String-variables contain variable-length strings with up to 2 billion (or 2^31) characters.

 

Strings can be defined in monolingual and multilingual. If, in the case of multilingual definition of the variable, a string is assigned directly bypassing the LanguageValue function, the container of the current dialog language is assigned to the string.

 

In addition, the variable can take the value NoValue. If the "Initialize with default value" switch is set for class variables, an empty string "" is set when the assignment is attempted with NoValue.

 

Variables of Type String are defined locally in functions as hereinafter (examples):

 

Dim text As String

 

Dim text As String := "TCE"

 

In exceptional cases, a locally defined string variable must also be defined as a multilingual variable. This can be achieved by the Multilanguage control command:

 

Dim text As MultiLanguage String := ML("DE:Apfel", "EN:Apple")

 

 

Attribute Properties and Functions:

 

Standard-Attributes:

AssignRuleIndex

Changed

Description

DifferingText

IsEnabled

IsVisible

ItemList

Name

SQLPrepare

Tag

UserTouched

Valid

ValueTag

ValueTagItems

 

Standard-Events:

AfterLet

BeforeLet

Get

Validation

 

Special Attributes:

 

 

More:

charAt (String)

charCodeAt (String)

Clear (String)

Compare (String)

Conversion (String)

CRC32 (String)

Cut (String)

Decode (String)

Default (String)

Encode (String)

endsWith (String)

EvalLanguageValue (String)

FormatString (String)

Includes (String)

indexOf (String)

InStr (String)

InStrRev (String)

Join (String)

LanguageValue (String)

lastindexOf (String)

LCase (String)

Length (String)

localCompare (String)

Mid (String)

Mids (String)

MidSet (String)

MultiLanguage (String)

Repeat (String)

Replace (String)

ReplaceValue (String)

RTF (String)

Split (String)

startsWith (String)

StringTemplate (String)

StringToHTML (String)

Trim (String)

UCase (String)