I have a column in excel sheet which contains some data. I want to write a macros to replace the cell content with the words which appears before a word with special character. For example:
Cell content:
M.Ramalingam S/o Mahalingam
Should be replaced by:
M.Ramalingam
Cell content:
Balkis Beevi W-o Mahamed Ali Jinna
Shoud be replaced by:
Balkis Beevi
., in the other it's the second space? How do you determine which string has which special character to look for?