aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-07-16 19:20:33 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-07-16 19:20:33 +0200
commit88fa4c8c11a54831d6fc4413cd3f6f83ac5545ad (patch)
tree2a7b63c78fe0ddc9f57a1197e000af35a3772af6
parent95e8c647e34c0230692eebb25992c700184e6f93 (diff)
downloadUstring-88fa4c8c11a54831d6fc4413cd3f6f83ac5545ad.zip
Ustring-88fa4c8c11a54831d6fc4413cd3f6f83ac5545ad.tar.gz
Ustring-88fa4c8c11a54831d6fc4413cd3f6f83ac5545ad.tar.bz2
Update example.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c515a93..3d1be87 100644
--- a/README.md
+++ b/README.md
@@ -98,7 +98,7 @@ will do:
$solutions = array();
foreach($search as $pos)
- $solutions[] = substr($haystack, $pos['i'], $pos['j'] - $pos['i']);
+ $solutions[] = substr($haystack, $pos['i'], $pos['l']);
We will found `AGATA`, `GATAA`, `ATAAG` and `GAGAA`.