string
To represent texts in BI#, use the string
type. Internally, string
objects store all characters in Unicode. BI# treats all character sequences enclosed in double quotes as strings
:
string message = "Hello";
string empty = "";
To encode special characters such as new lines and tabulators, use escape sequences:
string message = "one\ttwo\n";
BI# supports these escape sequences:
\n |
New line |
\r |
Carriage return |
\b |
Bell |
\t |
Tabulator |
\f |
Form feed |
\" |
Double quote |
\\ |
Backslash |