oReg = CREATEOBJ('VBScript.RegExp') >>>oReg.Global = .T. && FOR ALL OCCURANCES >>>oReg.Pattern = '\b[\t ]+\b' && Match any occurance of one or more spaces/tabs >>>cReducedString = oReg.Replace(cUnReducedString,' ') &&Replace match with ' '>>
lcstring = "John " + CHR(9) + " Smith" >>? lcstring && Prints John Smith >>? Reduce(lcstring) && Prints John SmithSo apparently it can (at least in 6.0). Also placed multiple occrences of the tab and spaces between them and it still worked. **Braaaaaaaaaaaack**< sticks tongue out at Ed >:-)