Strings are immutable, and the replace function returns the resulting string rather than changing the calling object. So you must reassign the string value
nflTeam = nflTeam.replace((char)0xA0, '...
Type: Posts; User: copeg
Strings are immutable, and the replace function returns the resulting string rather than changing the calling object. So you must reassign the string value
nflTeam = nflTeam.replace((char)0xA0, '...
Non-breaking space is a common element in html (if you are copying and pasting from a website, I wouldn't be surprised you'd ended up finding some). Just replace the character if you want it gone...