Hi all,

I have a string that looks like this: TaskName-UnitNumber-OrderNumber, e.g TaskName-1-1

The numeric values may change. e.g: TaskName-2-2, TaskName-10-98

I need a fairly simple function that would return the Unitnumber and the Ordernumber from the string.

Has anybody some ideas?

Cheers