This does not seem to work. The string text is unchanged. What am I doing wrong?
Code: Select all
Am\Text=ReplaceString(Am\text, Str($0d)+Str($0a), "")Ach, never mind. I need Chr() I think.
*re-edit*
Er nope. Is this a UTF vs. Ascii type issue? I notice the strings are two byte characters.
*re-re-edit
Yeah, Am\Text=ReplaceString(Am\text, Str($0d)+chr(0)+Str($0a)+str(0), "") sort of works, except it replaces them with spaces (Chr(20)+Chr(0)) rather than trimming.


