added a couple string functions, as_boolean and as_css_size