I need a way to find the difference between two strings in a Windows application using VBScript
. One of the strings is known but the second one is completely unknown during coding. I know there are functions like StrCompare
, InStr
etc. but these require you to know the second string also during coding.
Explanation:
There is a text box in the screen and there are several buttons in the same screen. As and when the buttons are clicked, the text in the text box changes depending on the button clicked. Is there a way to find the changes made to the text after the button is clicked ? Basically I need to get the text entered due to the button click. Is there a simple way to do this or it requires complex coding ?
Thanks in Advance.