in reply to Re^2: Thinkin' Perl in C++
in thread Thinkin' Perl in C++

If it's truly CString, then:
CString sTest("This-has-dashes"); sTest.Replace('-','_');

mr.nick ...