Skip to content

Tag: tidy

Schoolboy Error Of The Day

This dumb mistake just cost me an hour spelunking around in the debugger: var status = source.Substring(source.LastIndexOf(“/” + 1)); (where source is e.g. “http://foo.com/status/all-is-good“) Fortunately … Read more

Copyright © Ian Fraser Nelson 2023