From d4813501c3f1b7a622a57232c5e055c457047d46 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Mon, 4 Aug 2014 23:22:44 -0400 Subject: [PATCH] Keno's recent backtraces work has added backtraces for these errors! --- doc/manual/strings.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/manual/strings.rst b/doc/manual/strings.rst index 82ea959a3ad32..3e2c4e78012a3 100644 --- a/doc/manual/strings.rst +++ b/doc/manual/strings.rst @@ -239,9 +239,11 @@ Using an index less than 1 or greater than ``end`` raises an error: julia> str[0] ERROR: BoundsError() + in getindex at /Users/sabae/src/julia/usr/lib/julia/sys.dylib (repeats 2 times) julia> str[end+1] ERROR: BoundsError() + in getindex at /Users/sabae/src/julia/usr/lib/julia/sys.dylib (repeats 2 times) You can also extract a substring using range indexing: