string assert methods