Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Thinkin' Perl in C++

by mr.nick (Chaplain)
on Mar 01, 2012 at 20:07 UTC ( [id://957304] : note . print w/replies, xml ) Need Help??


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 ...