How to get a particular part of a String
Posted
by Harish
on Stack Overflow
See other posts from Stack Overflow
or by Harish
Published on 2010-03-30T06:27:52Z
Indexed on
2010/03/30
6:33 UTC
Read the original article
Hit count: 429
I am writing a macro in Excel where I need to get a substring from a String. Its like this.
~/tester/test/hai/bye
~/stack/overflow/hai/bye
In the above cases I need to take the String tester from the first one and stack from the second one.I tried using the Instr but its not useful.Can anyone help this?
© Stack Overflow or respective owner