Set cstr_as_string as pure function
Add comment to cstr_as_string