I would like to truncate string signals to a given number of characters.
As an example, say the signal gives a combination of an #ID_date_Initials (e.g. 12345_20200326_PJR).
How can I generate a new signal that contains only part of the string?
In the example above, I would like to get only the #ID.