Inline string converters
Simplify segment()