Skip to main content
Solved

how to generate a value off a partial level name


how to generate a value off a partial level name

Best answer by david_r

As mentioned by @dustin​ , you can use a regular expression for this. For example:

imageYou can then rename the list element _subs{0}.part to whatever you want, e.g. LineNumber:

image

View original
Did this help you find an answer to your question?

4 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • November 21, 2022

Do you have an example? It's possible you could use regular expressions to pull the name out.


Capturefme


Want to use part of the level names like _Line 6 to generate a value of 6 in Line _Width and _Line 4 to generate Value of4 _StopBar_Line24 Value to 24 ect.


david_r
Celebrity
  • Best Answer
  • November 22, 2022

As mentioned by @dustin​ , you can use a regular expression for this. For example:

imageYou can then rename the list element _subs{0}.part to whatever you want, e.g. LineNumber:

image


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings