Hi there, apologies if this is a dumb question, I’m quite new to UiPath still!
I have an issue where a value is being input into a database, but the full text isn’t required and so I need to split it. So, or example, we may have a customer name as:
“Steve Smith T/A Smith’s Hotdogs” - we only want ‘Smith’s Hotdogs’ in this instance.
I’ve input an If activity to say ‘if the customer name contains T/A…’
The problem is, I don’t know how to write the code, as it shows as follows:
iJsonObject(“CustomerName”).ToString
How would I change this to only include the text after the T/A (removing white spaces before and after also)?
Just a thought also: if I add .ToLower to this, it will add everything in lower case, will it not? I just thought that if on the JSON it appears as ‘t/a’ rather than ‘T/A’ that it may not pick it up?