====== String Type ======
A [[wp>String_(computer_science)|string]] is a sequence of arbitrary characters.
===== GUI Editor =====
[{{ :editors:string_editor.png?nolink |Graphical representation of the string editor}}]
===== EGO Script =====
==== Legacy ====
Strings are sequences of any characters enclosed by double quotes '"'.
"Amazon"
"North"
"This is an example of string"
"landscape_123 "
"x1_and_a_name"
"string with \"double quotes\""
A string can be any size long and it can also span across several lines.
"This is an example of a very long string
with multiple lines.
Note that line breaks do not need to marked using any special syntax."
==== Raw String Format (starting on Dinamica 5.0.1) ====
The raw string is written with the following syntax:
$"( raw_characters )"
Where raw_characters is your string, sequences of any characters, and is any character that, with the character ')', is not present into raw_characters (it can be none, case where the character ')' is not present into raw_characters).
$"(This is an example of String)"
$"0(This is an example of String with the character ))0"
$"1(This is an example of String with the sequence of characters )0)1"
A string can be any size long and it can also span across several lines.
$"(This is an example of a very long string
with multiple lines.
Note that line breaks do not need to marked using any special syntax.)"
===== Automatic Conversions =====
* **Converted from**: [[Real Value Type]], [[Integer Value Type]], [[Non Negative Integer Value Type]], [[Positive Integer Value Type]], [[Log Tag Type]], [[Name Type]], [[Boolean Value Type]], [[Map Filename Type]], [[Lookup Table Filename Type]], [[Table Filename Type]], [[Weights Filename Type]] and [[Table Value Type]].
* **Converted to**: [[Name Type]], [[Real Value Type]], [[Index Or Name Type]], [[Map Filename Type]], [[Lookup Table Filename Type]], [[Table Filename Type]], [[Weights Filename Type]], [[Tuple Type]] and [[Table Value Type]].