the watch Panel in Uipath Studio is showing a wrong output value after treatment of a string variable.
string variable message=“You searched for author Mark Twain. His books can be found in the following stores: Bookland,Classics bookstore.”
v Substring(message.LastIndexOf(“author”)) extracts the Substring that is after “author”;
see the attachment and result
please check why the watch result is not correspending to the expected value