Basic string handling--open and close