Solve 2024-15

This commit is contained in:
2024-12-15 16:11:37 +01:00
parent c0838dc944
commit 25f3706e0f
5 changed files with 426 additions and 1 deletions
+1 -1
View File
@@ -135,5 +135,5 @@ export function unique<E>(
* @param char Char
*/
export function replaceChar(arr: string[], x: number, y: number, char: string) {
arr[y] = arr[y].substring(0, x) + char + arr[y].substring(x + 1);
arr[y] = arr[y].substring(0, x) + char + arr[y].substring(x + char.length);
}