Get characters from string.
Hello guys,
I have a lot of strings in this form:
I will give you an example:
1.
12324/2015
2.
12/2013
3.
143/2014
The numbers before ”/” character go from 1 to 65421.
The characters after ”/” is the year.
I want to be able to extract in a string what is before the character ”/” (in my example 12324, 12, 143) and in another string the last 2 characters of the year (in my example 15, 13, 14).
I would be greatly appreciative if anyone had any idea about how to do this with a macro in Word 2010. Thanks a lot.