Skip to main content
Solved

how to generate a value off a partial level name

  • November 21, 2022
  • 4 replies
  • 22 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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