Created
June 20, 2015 02:24
-
-
Save scriptnull/139811520d92c04ece29 to your computer and use it in GitHub Desktop.
This is a snippet that supplements scriptnull.github.io/foreachline. Usage: a = b; will be converted to b = a;
This file contains hidden or 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
| var variables = line.replace(';','').split('='); | |
| line = variables[1] + ' = ' + variables[0] + ';' ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment