summaryrefslogtreecommitdiffhomepage
path: root/julia.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'julia.html.markdown')
-rw-r--r--julia.html.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/julia.html.markdown b/julia.html.markdown
index cba7cd45..2fedcfd8 100644
--- a/julia.html.markdown
+++ b/julia.html.markdown
@@ -102,6 +102,11 @@ false
# Printing is easy
println("I'm Julia. Nice to meet you!")
+# String can be compared lexicographically compared
+"good" > "bye" # => true
+"good" == "good" # => true
+"1 + 2 = 3" == "1 + 2 = $(1+2)" # => true
+
####################################################
## 2. Variables and Collections
####################################################