String prefix should take list of offsets