I’m sure there’s a simple solution to this but can’t just seem to figure it out
I want UiPath to scrape different elements from a webpage but 90% of these texts (if available) comes with a lot of trailing whitespace. Sometimes, the element that needs to be scraped is empty.
Is there a way to get uipath to dynamically trim these elements (empty or not) as I find that it throws an error if the text value is empty using the Trim function.
*** Also worth adding that these texts can change based on an extensive block of IF statements (up to 28). so I’m really just looking for the simplest/cleanest way to do this without adding more IF statements to handle each trim function to each of the 63 variables that does not come up empty - if that makes sense ***
Thanks in advance!