Back to 2011
@mikiobraun
Mikio Braun
@mikiobraun
Otherwise you will retain the whole string in memory, because substring is just a view of the longer string.