I think a function that would remove "dangerous" characters from a string may be needed, it would help with things such as integration with SQL.

function string.sanitise( str )
return string.Trim(string.Replace(string.Replace(string.Replace( tostring(str), "\\", "/" ), "\"", ""), ";", ""))
end
I felt that a function like the one above was always missing from Garrysmod, and I am sure that we had problems because of it.
I hope that if a function like the one above is added to ULX, that it would help many developers in the long run.