Returns text in string with lines left or right indented once with given character and count
#include "String and File String.au3" _StringIndentOnce( $sString [, $sIndentString = " " [, $iIndentCount [, $bRightIndent = False ]]] ) |
$sString | String with text to indent once |
$sIndentString | String used to indent |
$iIndentCount | Number of times to indent |
$bRightIndent | True = Indent right side of text, False = Left side |
string value | String with indented text |
_StringIndent, _StringUnindent, _StringTotalUnindent
_StringIndentCount( $SomeText, " ", 3 ) ; Returns the text in $SomeText indented left with 3 spaces
_StringIndentCount( $AnotherText, @TAB, 2, True ) ; Returns the text in $AnotherText indented right with 2 tabs