fix Issue 9654 - Template function cannot take string by ref T[len]
Merge pull request #1723 from 9rnsr/fix9654

Issue 9654 - Template function cannot take string by ref T[len]