On Tuesday, 21 July 2015 at 17:23:30 UTC, ddos wrote: > How do i sanitize a string for database query? > Is there some builtin function? > > thx :) Use prepared statements instead. https://en.wikipedia.org/wiki/Prepared_statement