How to remove whitespace in a returned item

@praveendvd I guess it all depends what the structure of the string is - trim() only removes whitespace from the beginning and the end of a string.

For example:

@postnewbie2020 It looks like you have a mixture of whitespace and different carriage returns or newlines. From the image, you have provided it’s difficult to know what’s going on.

Can you provide an example of the HTML page it’s looking at so it will be easier to run locally rather than taking a guess :smiley:

1 Like