Section 14.2.4, 14.3.4, 14.3.6, 14.3.8
Return value on try_* functions

 

In 14.2.4, REPLACE

 

 

the method returns 1 and execution continues

           

WITH

 

the method returns 1 a positive integer and execution continues

 

 

 

In 14.3.4, REPLACE

 

 

and the function returns 1

           

WITH

 

and the function returns 1 a positive integer

 

 

 

In 14.3.6, REPLACE

 

 

the method returns –1

           

WITH

 

the method returns –1 a negative integer

 

 

 

In 14.3.6, REPLACE

 

 

the method returns 1

           

WITH

 

the method returns 1 a positive integer

 

 

 

         

In 14.3.8, REPLACE

 

 

the method returns –1

           

WITH

 

the method returns –1 a negative integer

 

 

 

In 14.3.8, REPLACE

 

 

the method returns 1

           

WITH

 

the method returns 1 a positive integer