Hell everyone, is there a command to use when I would like to remove everything from a string from position A to position B? For example: c:\foo\bar.txt - remove 7-14 and 1-3 = foo and so on..
Tried to lookup this stuff with search here but couldn't find suitable stuff, maybe I just don't know the right terms to use when searching.
What exactly are you trying to do? $mid is useful, however, depending on what you are trying to do, there might be other options that will do the work for you where you might be doing it the long way, such as directory/file parsing.