Jump to content

2 strings the same but not equal


Recommended Posts

Hi
I have this code :
   

     send("^c")
        sleep(500)
    
        $clip = ClipGet()
        $name = filereadline($file,1)
        If $clip = $name Then


The strings are the same $clip = alienhunter et $name=alienhunter

If I do the tests = == or stringinstr they don't match.
Aynone knows why ?

Link to post
Share on other sites
53 minutes ago, Daydreamer067 said:

What do you mean by binary ?

It is possible that one of the strings contains non-printable characters. Just check what @HurleyShanabarger suggested.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...