void test_replace() { printf( ">>>>>>>>> Replace 테스트\n" ); CUString str; str = "hello this is my ... "; int num = str.Replace( "...", "" ); str.Print( stderr ); fprintf( stderr, "%s[%d]\n",str.GetStr(), num ); printf( "\n" ); }
void replace_test() { CUString str; str = "hello this is my ... "; str = "abababab___"; int num = str.Replace( "aba", "$" ); str.Print( stderr ); fprintf( stderr, "%s[%d]\n",str.GetStr(), num ); }