feat: ✨ Finish ReplaceChar
All checks were successful
Tests / Unit Testing1 (push) Successful in 46s
All checks were successful
Tests / Unit Testing1 (push) Successful in 46s
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user