Fix #150 (malformed inline asset string)

NSString's -substringToIndex: does NOT include the character at
target index. I have no idea know why I understood it otherwise.