G gordon Member Licensed User Longtime User Aug 17, 2012 #1 In process globals I have Code: Copy Dim str As MLStr Then elsewhere I have Code: Copy Dim finalfrom as string dim tmp as string finalfrom=edtfinalfrom.text tmp=finalfrom str.Escape(tmp ) finalfrom=tmp However the white spaces are not being escaped for some reason. Equally if I try Code: Copy str.strip(tmp) The string remains unchanged. The MLstring library is installed and working because I can use it to count the words in a string. Please can someone tell me why this is. many thanks.
In process globals I have Code: Copy Dim str As MLStr Then elsewhere I have Code: Copy Dim finalfrom as string dim tmp as string finalfrom=edtfinalfrom.text tmp=finalfrom str.Escape(tmp ) finalfrom=tmp However the white spaces are not being escaped for some reason. Equally if I try Code: Copy str.strip(tmp) The string remains unchanged. The MLstring library is installed and working because I can use it to count the words in a string. Please can someone tell me why this is. many thanks.
Erel B4X founder Staff member Licensed User Longtime User Aug 17, 2012 #2 Try: Code: Copy tmp = str.Escape(tmp) Upvote 0
G gordon Member Licensed User Longtime User Aug 17, 2012 #3 And that works perfectly. Thank you Upvote 0