From 1dc811981a31b26f22a853a4e3ae3528a4c2361d Mon Sep 17 00:00:00 2001 From: David Greaves Date: Sat, 1 Dec 2018 19:38:28 +0000 Subject: [PATCH] Improved(?) string subtraction example I think your take away function needs to be in keeping with the others... ;) It met with a shake of the head from my friend's 14 year old daughter so that's got to be a plus vote. Signed-off-by: David Greaves --- book/book.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/book.tex b/book/book.tex index 2e10f04..ba79b1b 100644 --- a/book/book.tex +++ b/book/book.tex @@ -1644,7 +1644,7 @@ \section{String operations} if the strings look like numbers, so the following are illegal: \begin{verbatim} -'2'-'1' 'eggs'/'easy' 'third'*'a charm' +'chinese'-'food' 'eggs'/'easy' 'third'*'a charm' \end{verbatim} % But there are two exceptions, {\tt +} and {\tt *}.