1 00:00:00,090 --> 00:00:07,900 Next we will talk about the string membership based and using this test. 2 00:00:07,910 --> 00:00:16,490 We can test you for substring exists within a string or not using the keyword in. 3 00:00:16,490 --> 00:00:20,840 So here we have a variable a which is a string. 4 00:00:21,350 --> 00:00:28,880 Let us know best if the character B is present in this particular variable E. 5 00:00:29,660 --> 00:00:34,680 And for that let's type B in. 6 00:00:35,060 --> 00:00:45,860 In this expression is going to return a boolean value that is either a true or false so B is that in 7 00:00:46,100 --> 00:00:47,540 the variable e. 8 00:00:47,840 --> 00:00:57,110 Similarly we have another operator not in which it returns true if it does not find a character or a 9 00:00:57,110 --> 00:01:02,550 substring in the string in a string or a sequence. 10 00:01:02,780 --> 00:01:15,070 Let's say searching for the characters a B B may have been e so NATO's exhibit and this it returns true. 11 00:01:15,110 --> 00:01:25,550 Now if we use d operator not in a and then execute it you'd return false because because these three 12 00:01:25,550 --> 00:01:32,450 characters are present in debatable E string operators are used to validate the membership of a value 13 00:01:32,510 --> 00:01:33,950 in a particular sequence.