c++ string convert code example Example: c++ cli convert string to string^ string str = "Here"; String^ Str = gcnew String(str.c_str());