New function mpdm_str_slice().
Renamed mpdm_str_slice() to mpdm_slice().