Reading a select number of characters from a string


Hi I am trying to find easy way to read first 3 character from list,
example: S01, S02, S02a, S03
I need : S01, S02, S02, S03

any node that read first n -characters?

Splitting string based on a given "pattern"

Hi Michael,
Something like this: