Hello,
Is there a simple way of finding a position of a substring within a string using a string-mask?
This is the original substring
06.12.2022 04:31:39 UTC
and I want to search for it using the mask
++.++.++++ ++:++:++ UTC
I could make a function which loops through the string and replaces the integers with the +, however, I thought there maybe an easier way. Is there?
Is there a simple way of finding a position of a substring within a string using a string-mask?
This is the original substring
06.12.2022 04:31:39 UTC
and I want to search for it using the mask
++.++.++++ ++:++:++ UTC
I could make a function which loops through the string and replaces the integers with the +, however, I thought there maybe an easier way. Is there?