Using .trim() on a variable for SetText is not removing the trailing space in the variable

Feeling silly that I did not check the html after I entered the name in the input field using the variable… it showed Nanci&nbsp. But thanks @kazurayam for helping me figure this out!

Thanks @Russ_Thomas for you help!

Used this post to figure out what to use to replace the no break space - WebUI.getText not trimming trailing space

1 Like