Jump to content
Sign in to follow this  
kkarelll

Remove TAB character

Recommended Posts

kkarelll

Hello,

I´m pasting some datas from excel and there are TAB characters between columns. I want to remove them and manualy i do it:

1)paste datas on notepad

2)replace TAB char with nothing

When I try this via autoit i get stucked :mellow: I´m not able to send TAB char into replace window. I tryed to send i as ascii Send("{ALT 9}") which puts there correct char but for some crapy reason it is different than the one on datas and replace doesnt work .(

Do you have any tips how to override this?

Thanks!

Share this post


Link to post
Share on other sites
kkarelll

Did you try StringReplace($data,@TAB,"")?

Tryed now and doesn´t help :mellow:

Thank you for the tip

Share this post


Link to post
Share on other sites
kkarelll

sorry my fault, I tryed it once again and I had a error on my code. And strreplace works great. Thank you very much

Share this post


Link to post
Share on other sites
jerem488

you can use the "StringStripWS" function.

:mellow:

@+


Qui ose gagneWho Dares Win[left]CyberExploit[/left]

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  

×