Given the following iOS Shortcuts-app snippet to trim a text string up to the first n (in this case 6) characters, is there a simpler way of doing this?
Text "0123456789ABC”
Set Variable String to Text
Replace "^.{0,6}" with "" in Text (regex ON)
Replace Updated Text with "" in String
Result "012345"
Note that text "012" would result in "012"!
In the shortcuts-app, strings are not quoted as in this snippet