Remove X letters in view name while keeping the numbers at the end


#1

Hello all, I have a list of drawings that are named like this:

A05.10
_U06.10
A10.20

Is there a way to split the name strings so that I always keep the last 5 characters and get rid of the prefix?

Slice String got me the closest because it can slice in either direction, but doesn’t handle all variables in my test group because that pesky extra underscore character.

Thanks!


#2

If your naming is indeed regular, then give this a go. :grinning:


#3

Thanks! It’s working great for me.


#4

@etroxel please mark the correct solution so others can learn from your question.

Thanks!