Collapsed substr syntax
Tidied