Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0

The Designer supports string manipulation operations. Internally, strings are represented as UTF-8 strings.
The following operations are offered by the String class:

Children Display

Escaping Characters

String literals are created by putting character sequences into single ('') or double quotes (""). If the string literal contains double quotes, they can be used without escaping if the literal is enclosed by single quotes and vice versa:

  • "myString'StringWithinQuotes'end"
  • 'myString"StringWithinDoubleQuotes"end'

An alternative to handle quotes within a string is escaping the quotes with a backslash ( \" or \' ):

  • "myString\"StringWithinDoubleQuotes\"end"
  • 'myString\'StringWithinDoubleQuotes\'end'

Another backslash character is escaping the backslash character itself ( \\ ).

Tip

If you want to use white spaces like tabs, new lines, or carriage returns in a string, use the text() macro.

Panel
titleOn this Page:
Table of Contents
Panel
titleRelated Pages:

Otp
Floatingfalse

rp