str: New function ds_put_substring_multiple().