feat: Finish ReplaceChar
All checks were successful
Tests / Unit Testing1 (push) Successful in 46s

This commit is contained in:
2023-11-02 17:48:44 +01:00
parent 3f42af8215
commit 1a5351d121
2 changed files with 19 additions and 1 deletions

View File

@ -71,4 +71,12 @@ public class Iterations
return result.TrimEnd();
}
}
public static string ReplaceChar(string source, char toReplace, char replace)
{
string result = string.Empty;
result = source.Replace(toReplace, replace);
return result;
}
}