Forum Discussion
AlexKaras
11 years agoChampion Level 3
Hi Donald,
I am not working for SmartBear, so can say nothing about whether or not aqString.Trim() will be enhanced (though I would love this).
What I figured out recently was that while some browsers treat nbsp as a whitespace, some of them render it as Chr(160). For the needs of the given project I ended-up with
TrimWebText = Utilities.Trim(aqString.Replace(strValue, Chr(160), ""))
I am not working for SmartBear, so can say nothing about whether or not aqString.Trim() will be enhanced (though I would love this).
What I figured out recently was that while some browsers treat nbsp as a whitespace, some of them render it as Chr(160). For the needs of the given project I ended-up with
TrimWebText = Utilities.Trim(aqString.Replace(strValue, Chr(160), ""))
Related Content
- 2 years ago
- 6 years ago
Recent Discussions
- 2 days ago
- 8 days ago
- 11 days ago