MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / ReplaceCharacter

Function ReplaceCharacter

Explorer++/Helper/StringHelper.cpp:295–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295void ReplaceCharacter(TCHAR *str, TCHAR ch, TCHAR chReplacement)
296{
297 int i = 0;
298
299 for(i = 0; i < lstrlen(str); i++)
300 {
301 if(str[i] == ch)
302 {
303 str[i] = chReplacement;
304 }
305 }
306}
307
308void ReplaceCharacterWithString(const TCHAR *szBaseString, TCHAR *szOutput,
309 UINT cchMax, TCHAR chToReplace, const TCHAR *szReplacement)

Callers 2

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68