core: new function: str_trim_spaces_lr()
 - same as trim_spaces_lr() but without '0' padding