Reading List

The many ways to select the n-th character from a string. from Christian Heilmann RSS feed.

The many ways to select the n-th character from a string.

A question I came across the other day during a JavaScript application test was this: How would you select the n-th character from the word “Example”? The fun thing here is that there are lots of different ways to do that. The one I always forget about is that you can access the index of […]