function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kk_mkk_m 

substring

Hi All

 

 

 

In string methods there is method called substringBetween is not working any can help to solve that one

 

ex:

 

string s1 =''xYellowY';

string s2 = s1.substringBetween('x','y');

 

 

 

 
Laxman RaoLaxman Rao

substringBetween works with Api(26) and above.

 

Might be your instace is not yet upgraded to Api(26).