Forum Discussion
JeffLove
3 years agoQrew Trainee
Ooops on my formula
------------------------------
Thanks, Jeff
------------------------------
var text A = SearchAndReplace([Live Field A],"\n"," ");
var text B = SearchAndReplace($A,"<br>"," ");
var text B = SearchAndReplace($A,"<br>"," ");
Trim(Upper($B))
------------------------------
Thanks, Jeff
------------------------------
- JeffLove3 years agoQrew Trainee
I did find a solution to this eventually, in case others have a similar problem.
It turns out using the urlencode() function at the start converts all the strange characters, and there are a bunch of them into things like %0D%0A %0A %3A
So you can basically trim out the garbage by SearchandReplacing all the different weird characters​ and replacing them with a space "%20"
Upper(Trim(SearchAndReplace(SearchAndReplace(SearchAndReplace(SearchAndReplace(URLEncode([My TEXT Field]), "%0D%0A", "%20"), "%0A", "%20"), "%20", " "), "%3A", ":")))Then the text comparison is equivalent.
------------------------------
Thanks, Jeff
------------------------------