kkarelll Posted November 2, 2008 Share Posted November 2, 2008 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 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! Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 2, 2008 Share Posted November 2, 2008 Did you try StringReplace($data,@TAB,"")? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
kkarelll Posted November 3, 2008 Author Share Posted November 3, 2008 Did you try StringReplace($data,@TAB,"")?Tryed now and doesn´t help Thank you for the tip Link to comment Share on other sites More sharing options...
James Posted November 3, 2008 Share Posted November 3, 2008 Why doesn't it? Whats the variable name of what you are trying to replace? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
kkarelll Posted November 3, 2008 Author Share Posted November 3, 2008 sorry my fault, I tryed it once again and I had a error on my code. And strreplace works great. Thank you very much Link to comment Share on other sites More sharing options...
James Posted November 3, 2008 Share Posted November 3, 2008 sorry my fault, I tryed it once again and I had a error on my code. And strreplace works great. Thank you very muchGood to hear! Hope you have fun with your script. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
jerem488 Posted November 3, 2008 Share Posted November 3, 2008 you can use the "StringStripWS" function. @+ Qui ose gagneWho Dares Win[left]CyberExploit[/left] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now