Blog

JavaScript – Indenting Text

One thing I needed to do recently was indent a series of strings with a variable number of tabs or spaces. Thusly, I decided to create the following function which can be used by anyone that would need such a function: The JS annotation pretty much sums up how you Read more…

By Chris West, ago