Mimic the surface area of Text and ByteString using string operations