read string list by offsets
code refactor