[sr-dev] git:5.3:0d140ea8: core: str - helper macro to set ending zero with backup and restore from backup