i want to make a program using pc spim that searches for a substring in a predefined string and if it is found it replaces it by another string. if substring is not found it simply shows error message. Can any body help me in making it.............please