primitive operations for string
debug