Helper utilities for dealing with dollar strings