Was having trouble with the transform/replace function. Was wondering if I have a signal that produces strings, how I can replace the last two or three digits depending on the size of the string.
If the string is 22 characters long, I want to remove the last two digits, while if the string is 23 characters long I want to remove the last 3 characters.
For example, if the string is 000000000-000-00BRX111-2, want to remove just the -2 part.
Thanks