some more str helper functions