Encoding "space" character

Hello,

I would like to encoding the “space” character but I fail.

On a webpage, the text is "Location : "
On my RF code, I have this check :
Element Text Should Be locator LOCATION :

But when I execute this part of code, the execution fails with this message :
FAIL : The text of element ‘locator’ should have been ‘LOCATION :’ but it was 'LOCATION : '.

How can I say to RF “translate the space character at the end of the line” ?
I tried many solution but nothing has worked.

Thanks a lot

How about using ‘single quotes’?
Or trying with:
Element Text Should Be locator LOCATION :${SPACE}

Hello !
The single quote doesn’t work.
But… ${SPACE} works fine !!

Thank you :slight_smile: