AnsweredAssumed Answered

How to extract everything after "-" in an string.

Question asked by muhammad.ikram@contedia.com on Oct 13, 2017
Latest reply on Oct 14, 2017 by PeterDoern


Hello community,

 

I would like to know how to extract something from sting.

 

For example:

 

Router Cupboard-246

Router Information-234

server-vps Information-145

office-place-99

 

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.

 

e.g.

Router Cupboard-246 >>246

Router Information-234 >> 234

office-place-99  >>   99

 

Thank you

Outcomes