Dieuz Posted April 8, 2010 Share Posted April 8, 2010 (edited) Hey, What would be the best way to remove the LineBreak & TABs in a string? Thanks, Edited April 8, 2010 by Dieuz Link to comment Share on other sites More sharing options...
Fulano Posted April 8, 2010 Share Posted April 8, 2010 Three calls to StringReplace is probably the simplest way of doing it Local $replacedVersion = StringReplace ($original, @CR, "") $replacedVersion = StringReplace ($replacedVersion, @LF, "") $replacedVersion = StringReplace ($replacedVersion, @TAB, "") #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja! Link to comment Share on other sites More sharing options...
Yoriz Posted April 8, 2010 Share Posted April 8, 2010 StringStripWS GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
Fulano Posted April 8, 2010 Share Posted April 8, 2010 StringStripWSHave to be careful with that one, it will kill the spaces between your words if you aren't careful. #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja! 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