Fixed single quote around string slice + easy example

This patch contains a fix for:
- single quote around string slice
- string: String is confusing for newbies and it's more readble if the argument name is different that the argument type name