Notes
In Apex, the containsNone()
method is used to return true if the current String doesn’t contain any of the characters in the specified String; otherwise, returns false.
Here's an example for true:
String s1 = 'abcde';
System.debug(s1.containsNone('fg'));
Output: true
Video
Video does not exists.