
diff -r d33698326409 -r 54bdda4aefa5 manipulating_strings/quickref.tex
--- a/manipulating_strings/quickref.tex	Wed Dec 01 16:51:35 2010 +0530
+++ b/manipulating_strings/quickref.tex	Thu Dec 02 14:43:42 2010 +0530
@@ -4,8 +4,8 @@
 
 \lstinline|s = `Hello World'|\\
 \lstinline|s[0:5]| gives \texttt{Hello}\\
-\lstinline|s[6:]| gives \textt{World}\\
-\lstinline|s[6::2]| gives \textt{Wrd}\\
+\lstinline|s[6:]| gives \texttt{World}\\
+\lstinline|s[6::2]| gives \texttt{Wrd}\\
 
 \lstinline|s.replace('e', 'a')| returns a new string with all e's
 replaced by a.  




