Jump to content

Recommended Posts

Posted (edited)

Hey,

What would be the best way to remove the LineBreak & TABs in a string?

Thanks,

Edited by Dieuz
Posted

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!

Posted

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.
Posted

StringStripWS

Have 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!

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
×
×
  • Create New...