diff options
Diffstat (limited to 'getting_started_with_strings/quickref.tex')
-rw-r--r-- | getting_started_with_strings/quickref.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/getting_started_with_strings/quickref.tex b/getting_started_with_strings/quickref.tex new file mode 100644 index 0000000..3bd7055 --- /dev/null +++ b/getting_started_with_strings/quickref.tex @@ -0,0 +1,8 @@ +Creating a string:\\ +{\ex \lstinline| s = ``Hello World''|} -- Single quotes and triple +quotes can also be used. + +Accessing individual elements:\\ +{\ex \lstinline| s[5]|} -- Elements can be accessed with their index + +Strings are immutable. |