Skip to content

Commit 1dc8119

Browse files
committed
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 <david@dgreaves.com>
1 parent 2079c5e commit 1dc8119

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

book/book.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ \section{String operations}
16441644
if the strings look like numbers, so the following are illegal:
16451645

16461646
\begin{verbatim}
1647-
'2'-'1' 'eggs'/'easy' 'third'*'a charm'
1647+
'chinese'-'food' 'eggs'/'easy' 'third'*'a charm'
16481648
\end{verbatim}
16491649
%
16501650
But there are two exceptions, {\tt +} and {\tt *}.

0 commit comments

Comments
 (0)