Jump to content
Sign in to follow this  
DVHRLD

Help removing a square symbol

Recommended Posts

DVHRLD

I got this from Charon, and have copied it to my clipboard.

201.219.208.3:0080

201.219.208.2:80

61.234.224.69:8088

201.219.208.2:0080

When I start my script it processes it so the output is as follows.

<proxy>201.219.208.3:0080

</proxy>

<proxy>201.219.208.2:80

</proxy>

<proxy>61.234.224.69:8088

</proxy>

<proxy>201.219.208.2:0080</proxy>

This works good but the trailing </proxy> tag is on a second line for the first three. When I paste the following into notepad it shows up kinda like this <proxy>201.219.208.3:0080□</proxy> instead the square symbol is a little more stretched out vertically. I believe this is a LF? right? Sorry I am still learning all this.

What would I have to do so that the first lines appear like the last one?

Here is my code, and thank you any help you can give me.

$proxstring = ClipGet()
    $proxarray = StringSplit($proxstring, @LF)
    For $x = 1 To UBound($proxarray) -1
        
ConsoleWrite('<proxy>' & $proxarray[$x] & '</proxy>'& @CRLF)
Next

AutoViewer first public AutoIt script

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.