[progress Communities] [progress Openedge Abl] Forum Post: Re: Fast(est) Way Of Doing A...

  • Thread starter Thread starter ske
  • Start date Start date
Status
Not open for further replies.
S

ske

Guest
Lars Neumeier: > I would guess that something like this could be faster > lHasToBeQuoted = (LENGTH(inputString) > LENGTH(TRIM(inputString, ' ~"()<>@,;:\/[]?=')) Stefan Drissen: > That will fail ... Since trim works from outside in Reverse it. TRIM away all the characters that do NOT need quoting, and see if the result is a non-empty string. Then there are characters that need quoting.

Continue reading...
 
Status
Not open for further replies.
Back
Top