from Lawrence D'Oliveiro (ldo) Simplify implementation of BLI_split_name_num - With some changes of my own to avoid second call to strlen()
from Lawrence D'Oliveiro (ldo) Simplify implementation of BLI_split_name_num - With some changes of my own to avoid second call to strlen()