Expand CString functionality