CodeQL library for Java/Kotlin
codeql/java-all 5.0.1-dev (changelog, source)
Search

Predicate escape

Gets the result of backslash-escaping newlines, carriage-returns, backslashes, and unicode characters in s.

Import path

import codeql.util.Strings
string escape(string s)