Char To String (help me)

Hi All!

How I can convert string to Char?

Sample:

String^ _sBufLine;
_sBufLine = _sBufLine->Substring(iPosCharCur)->ToLower();

I want convert _sBufLine to Char.
Please! Help Me!

Thank You!

[249 byte] By [SrgioVasquez] at [2007-12-17]
# 1

Hi,

If your sure that your string only contains 1 letter then you can use the _sBufLine->ToChar() method. or you can have an array of chars and use the _sBufLine->ToCharArray()...

cheers,

Paul June A. Domag

PaulDomag at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...