Notes
In Apex, the subString()
method is used to extract a part of a string and returns the extracted part in a new string.
Here's an example:
String str = 'Apple, Banana, Kiwi';
String part = str.substring(7, 13);
System.debug(part);
Output: Banana
Video
Video does not exists.