From Bright Pattern Documentation
< 3.12:Scenario-builder-reference-guide
Revision as of 20:59, 3 August 2016 by Sasha (talk | contribs) (Created new topic from branched topic Documentation:ServicePattern:scenario-builder-reference-guide:StringExpressions:3.11)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 3.10 • 3.11 • 3.12 • 3.13 • 3.14 • 3.15 • 3.16 • 3.17 • 3.18

String Expressions

  • Strings are enclosed in double quotes, e.g. “sample string”

  • Backslash can be used to embed a double quote phrase within a string, e.g., “sample string \”embedded quote\” sample string”

  • Backslash can also be used to insert literal new-line and carriage-return symbols using the \n and \r notation, e.g., “sample string\n with new line in it”

  • Strings can be concatenated, e.g., “string 1”+” “+”string2” produces “string1 string2”

  • String themselves or string expressions cannot span multiple lines, i.e., while embedded \n is OK, the actual new line is not.

      < Previous | Next >
      < Previous | Next >