I would like to know how to extract something from sting.
The number at the end is an ID. I would like to extract an ID.
The string will always end in "-" "ID".
How can I only extract ID.
Router Cupboard-246 >>246
Router Information-234 >> 234
office-place-99 >> 99