Adworse Codes Here

Programmer's travelogue
Tagged: dive

The Curious Case of String.slice/3

Slicing a string isn’t tricky, right? Or is it? Elixir works wonderfully with strings. Some edge parts of it could be a little bit confusing though. This one led me to a rabbit hole deep down to IO devices and improper lists.