I want to delete all whitespace and if I use Trim() it’s only for the first and last whitespace of the string. I’ve tried string.replaceAll("\s","") then an error occured. groovy don’t recognise the method replaceAll()
I use RPA Express
Use “Trim Whitespace” feature under “Text” in Action library. Also if you are looking remove white spaces in between the string, you can use substring option and join the strings once the spaces are removed. Hope it helps !
Do you know what kind of whitespace there is in the file in advance (spaces, new line brakes) or can it be anything?