Jump to content
Sign in to follow this  

txt problem

Recommended Posts

Hello to all,

i've a txt file with a lot of lines.


lines contain strange symbol :

Posted Image

this symbol return in most txt editor as carrier return.

I want to eliminate that and replace Posted Image with nothing.

Don't know how identify it in AI and then replace,

Anyone can help me ?

Thank you,


Edited by myspacee

Share this post

Link to post
Share on other sites

solved with:

$file = FileOpen("Occasione.txt", 0)

; Check if file opened for reading OK
If $file = -1 Then
    MsgBox(0, "Error", "Unable to open file.")

; Read in 1 character at a time until the EOF is reached
While 1
    $chars = FileRead($file)
    If @error = -1 Then ExitLoop
    $new_chars = StringReplace($chars, @cr & "<@tel:>", " ")
    MsgBox(0, "Char read:", $new_chars)



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...