how to take first N characters in each line of MultiLine?

how to take first N characters in each line of MultiLine?

hi

there is MultiLine in form
for automatic correction of manual input need to check entries

how to take from each line first 8 characters?
in characters will be text, numbers and " ".

these 8 characters will be using in list manipulations - search for duplicates, to correct input data