_StringTotalUnindent

Returns text in string with lines totally left or right unindented (if possible) with given character

#include "String and File String.au3"
_StringTotalUnindent( $sString [, $sUnindentString = " " [, $bRightUnindent = False ]] )

parameters

$sString String with text to unindent
$sUnindentString Character used to unindent
$bRightUnindent True = Unindent right side of text, False = Left side

return value

string value String with unindented text

related

_StringIndent, _StringUnindent, _StringIndentCount

examples

_StringTotalUnindent( $SomeText ) ; Returns the text in $SomeText totally unindented left with all spaces

_StringTotalUnindent( $AnotherText, @TAB, True ) ; Returns the text in $AnotherText totally unindented right with all tabs