Fix: local vars in string/swap
Merge pull request #860 from Oldes/fix-swap

Fix: local vars in string/swap