...
will print the following string :
view
You can split strings into substrings, using the function parse() . This takes two strings as input : the first is the string to split, the second is a string consisting of all the separators; it returns a list whose elements are the individual strings resulting from the split (or tokens):
...
s = string inline
This is a multiline string, with all sorts of characters such as double quotes (") or single quotes (') which are ignored in the inline context.
end inline
Special characters
Some strings that are not easy to enter via a keyboard are defined as global variables. These are:
newline
- a new line charactertab
- a tab character
An example of using these is:
Code Block | ||
---|---|---|
| ||
greeting = "Hello" & tab & "world" & newline & "Pleased to see you!"
print(greeting) |