Hi guys,
I need to make this function as fast as i can
any idea's to make it more performant?
If you suggest Reg. Exp. well.. i don't know how
function MaskStr(txt,length) {
str = Replace(txt, '<br>',chr(13) &
chr(10),'ALL');
if(len(str) gt length)
str = left(str,length)&'...';
return Replace(str, chr(13) &
chr(10),'<br>','ALL');
}
Regards,
N0cT