Skip to content

Instantly share code, notes, and snippets.

View EthanVB123's full-sized avatar
👨‍🎓
Studying computer science at UWA

EthanVB123

👨‍🎓
Studying computer science at UWA
View GitHub Profile
@efenacigiray
efenacigiray / replaceAt
Last active August 23, 2023 17:55
Javascript replace char at index
function replaceAt(string, index, replace) {
return string.substring(0, index) + replace + string.substring(index + 1);
}