Hi firends, I am trying to replace "mm2" in a unicode text file with "mm(superscript2)" but obviously "replace" does not do what I want or I am missing something!?
My effort so far: ... ## Read TXT file and make it LC compatible, this is doing fine: put url ("binfile:" & tFile) into tData put textdecode(tData,"UTF-8") into tDataComplete replace CRLF with CR in tDataComplete ## Superscript 2 in Unicode put numToCodepoint(0x00B2) into tSup ## But this line does nothing actually? replace "mm2 " with ("mm" & tSup & " ") in tDataComplete ... What am I missing or doing wrong? Any hints appreciated, thank you! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode