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