Added support for strings. Added signs in index-ranges.