public String escape ( String string ) { int end = string . length ( ) ; int index = nextEscapeIndex ( string , 0 , end ) ; return index == end ? string : escapeSlow ( string , index ) ; }
Returns the escaped form of a given literal string .