请教怎么将String转换为标准库中的string

请问如何将String转换为标准库中的string?
请问如何将String转换为标准库中的string?

------解决方案--------------------
String S = "hello ";
string s = S.c_str();
------解决方案--------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
String s= "rereert v 4554 "; //typedef AnsiString String;
std::string cs; //#include <string>
char * c;
c=new char[s.Length()];
strcpy(c,s.c_str());
cs=c;
ShowMessage(*cs.begin());
ShowMessage(cs[s.Length()-1]);
ShowMessage(*cs.end()); //这个 '\0 '
delete []c;
}
------解决方案--------------------
String S = "hello ";
string s(S.c_str());