Fixing string function.