Yep, that works. Mind you, substring($currentObject/Attribute,5) will show all characters, starting with the sixth character (yep, not the fifth). So the result will be empty if your attribute only contains 5 or less characters.
Figuring out what happens is easier if you add a column next it showing the full content of currentObject/Attribute.