Skip to content

Instantly share code, notes, and snippets.

View ramizdemiurge's full-sized avatar
🏠
Working from home

Ramiz A. ramizdemiurge

🏠
Working from home
View GitHub Profile
@CrowderSoup
CrowderSoup / find_replace.js
Created February 19, 2014 16:40
Replace all instances of a substring without Regex in JavaScript
var str = 'This is a test string.';
// Let's replace all spaces with ','
str = str.split(' ').join(',');