Add clear function
Modified remark that it should guarantee that the character behind the string equals to 0