Left and Right work that way, but I don't think substr does.