I have a file which may contain a very long string (eg: A base64 encoding)
I would want to split it every n characters in order for an inspector to return a plural object of type substring.
The problem is that the string will not contain a “splittable” character.
Any idea on how to accomplish this?
split every 4 char: