Substring record basing on numerical index

You can use mutate+gsub to capture fixed length substrings. See this.