28.02.2011, 16:17
You're assuming the string is 2 chars longer than any position found for the ~ character. That's not good!
A line ending with a ~ could cause problems with the script. Same goes for {, but that's even worse.
A line ending with a ~ could cause problems with the script. Same goes for {, but that's even worse.