Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string WritePL(string tmpstr)
- {
- string aRet;
- string complete;
- string chrset[18] = "ąćęłńóśżźĄĆĘŁŃÓŚŻŹ";
- string repl[18] = "\245\206\251\210\344\242\230\276\253\244\217\250\235\343\340\227\275\215";
- int count;
- for(count = 0; count <= 17; count++)
- {
- std::replace( tmpstr.begin(), tmpstr.end(), chrset[count], repl[count]);
- }
- return tmpstr;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement