Last active
October 12, 2016 22:11
-
-
Save bhall2001/d511d7cdffd5f00ed0dc3a0c4e012d88 to your computer and use it in GitHub Desktop.
Livecode function to pad spaces to left of string (VERY FAST)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function indentString pString, pPadding | |
if pPadding is empty then put 4 into pPadding | |
return format("%*s",pPadding,"") & pString | |
end indentString |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment