1 00:00:00,840 --> 00:00:05,700 So, guys, in this studio, we're going to take a look on the strings, so we have already seen the 2 00:00:05,700 --> 00:00:11,240 strings in available studio, see the equals to Nicole. 3 00:00:13,210 --> 00:00:17,240 So no type of yes, you will get the stink. 4 00:00:20,310 --> 00:00:28,770 So you can access these particular alphabets interesting using this index, so you are doing it to yourself. 5 00:00:28,800 --> 00:00:33,120 You need to put the square brackets and to define the index. 6 00:00:33,270 --> 00:00:37,480 A number that is the first one is zero, if you like. 7 00:00:37,570 --> 00:00:39,110 So you'll get the end. 8 00:00:39,450 --> 00:00:44,280 And this one, I use the index one, two, three, four and four. 9 00:00:44,580 --> 00:00:53,190 So as in the computers, everything starts with gyro that's in the silicon area and this will also start 10 00:00:53,190 --> 00:00:53,740 with zero. 11 00:00:53,880 --> 00:00:55,740 So it's different then. 12 00:00:56,820 --> 00:00:58,710 And then someone defines a. 13 00:01:01,170 --> 00:01:09,430 So you look get the value of some of that because of this string, if you type and stuff too, look, 14 00:01:09,440 --> 00:01:11,280 get the third element that you get. 15 00:01:11,880 --> 00:01:13,410 So this is one way of indexing. 16 00:01:13,620 --> 00:01:17,670 We can also index from backwards, if you like, itself, minus one. 17 00:01:18,420 --> 00:01:21,080 So minus one is the rational and minus two. 18 00:01:21,090 --> 00:01:28,590 The second from the last element and which is a third from the last months of minus. 19 00:01:28,590 --> 00:01:30,270 Certainly the last element that is. 20 00:01:31,080 --> 00:01:38,180 And in the same way, if you take this off minus two, you'll get the third element, which is it. 21 00:01:39,240 --> 00:01:44,110 So this is how to access the particular element in a string. 22 00:01:44,910 --> 00:01:48,120 You can also access particular range of things. 23 00:01:48,300 --> 00:01:53,170 So since I said that end goes to zero, index one, index two, three, four, five. 24 00:01:53,370 --> 00:01:57,170 And I can access a particular answer if I want to like this. 25 00:01:57,180 --> 00:02:04,500 And I get all I want to do is I want to say, you know, is two and this is to Hazarika Range and Jiro 26 00:02:04,500 --> 00:02:04,820 two. 27 00:02:05,310 --> 00:02:06,820 I want to say zero. 28 00:02:06,870 --> 00:02:07,800 One, two, three. 29 00:02:07,950 --> 00:02:08,400 Right. 30 00:02:09,750 --> 00:02:12,920 So this three is the index of the fourth element. 31 00:02:12,930 --> 00:02:13,530 That is it. 32 00:02:13,710 --> 00:02:15,890 This is the exclusive, this is in Brazil. 33 00:02:16,170 --> 00:02:20,550 So Derate Index is in Brazil and of third. 34 00:02:20,550 --> 00:02:21,860 That is the fourth element is it. 35 00:02:22,230 --> 00:02:24,480 That means you get the range from and I get. 36 00:02:26,320 --> 00:02:34,590 So we got the range from zero to this, uh, second index, which is like 022, remember this, right? 37 00:02:34,630 --> 00:02:35,800 That one is exclusive. 38 00:02:36,590 --> 00:02:43,180 You similarly can get you can also if you did not persuade, you know, it will take the, uh, geto 39 00:02:43,180 --> 00:02:46,360 assertive for you to get the same output. 40 00:02:48,040 --> 00:02:56,490 Now, what if you want to reverse the screen so that if you want to say each two is two and then, uh, 41 00:02:56,500 --> 00:02:58,580 it would give you the all the elements. 42 00:02:59,350 --> 00:03:01,850 So starting from zero to zero. 43 00:03:02,380 --> 00:03:05,070 So if you do not for anything, it would be desirable. 44 00:03:05,110 --> 00:03:07,490 So that's what we got from everything. 45 00:03:07,840 --> 00:03:10,280 So let's say stage two, minus one. 46 00:03:11,110 --> 00:03:15,930 So it takes Geto as a first index and minus one. 47 00:03:15,940 --> 00:03:18,090 It would prevent this minus one. 48 00:03:18,340 --> 00:03:26,070 And then you get the minus one again at the second iteration, then the minus one gets decremental by 49 00:03:26,150 --> 00:03:29,710 one and then you get the minister minus four months for anything. 50 00:03:29,980 --> 00:03:32,990 So it's like, uh, backtracking, uh, from the back. 51 00:03:33,820 --> 00:03:37,540 Now, if you don't see the exact reverse string of the nickel. 52 00:03:40,050 --> 00:03:46,360 So as you can see, uh, some confusing, tricky issue to be is to see. 53 00:03:47,220 --> 00:03:55,060 So what this means is the starting index and these the index and see is the additional code. 54 00:03:55,380 --> 00:03:58,340 So if you want to keep some values, you can add the code. 55 00:03:58,770 --> 00:04:09,090 Uh, but in this case, we have zero zero zero and zero here and starting from zero, uh, same location 56 00:04:09,090 --> 00:04:15,570 to the ending the same location, you'll go back tracking and we'll add minus one. 57 00:04:17,550 --> 00:04:25,460 I'm sorry, so I just did not so OK, this place, the only place will be set aside. 58 00:04:27,510 --> 00:04:36,220 So this is how you transition by putting the two months since this thing is an object of the type shooting, 59 00:04:36,240 --> 00:04:42,810 you have the same methods you can access to do some operations. 60 00:04:42,990 --> 00:04:49,920 Let's say I start up this work on what the elements are rushing to the uppercase letters. 61 00:04:50,610 --> 00:04:54,120 As you can see, the nikil has been changed to the Michael. 62 00:04:54,780 --> 00:04:59,240 So you can also do a lawyer since our input is also smaller case. 63 00:05:01,370 --> 00:05:12,390 Get raucous and you can also say it's not CAPITALIS, so it will counter the first element of the string. 64 00:05:13,380 --> 00:05:16,100 This is like a camel case Rattus. 65 00:05:17,600 --> 00:05:24,860 So now you can also count any number of indexes using the counterbattery so you can access the objects 66 00:05:24,860 --> 00:05:33,590 matter using this dark object that is dark and the metal detectors, you need to pass some parameters 67 00:05:33,590 --> 00:05:33,870 here. 68 00:05:34,280 --> 00:05:38,090 That is that what you want to count in this? 69 00:05:38,100 --> 00:05:42,050 I want to say I want to count how many inside the. 70 00:05:44,440 --> 00:05:52,750 And there is only one, and so that's why it has written the one, so let's not count of I, there are 71 00:05:52,750 --> 00:05:56,590 two ways in your letter to answer. 72 00:05:59,050 --> 00:06:06,280 And whether we want to lose, uh, start index, so you need to find the index of some particular range 73 00:06:06,280 --> 00:06:12,430 of elements or the particular one element, then you need to say is that index of unity. 74 00:06:14,590 --> 00:06:19,140 So to return the starting the first occurrence of this, I that is the one. 75 00:06:19,480 --> 00:06:22,000 So if you take a soft one, you'll get the A. 76 00:06:24,260 --> 00:06:25,440 So there you go. 77 00:06:25,760 --> 00:06:35,810 You can also specify the range index of let's I guess it's so easy to do the varied range. 78 00:06:35,810 --> 00:06:38,410 If you do not give anything, it will return zero. 79 00:06:39,410 --> 00:06:42,610 And you can see it from a soft one. 80 00:06:42,890 --> 00:06:44,270 You'll get the Aykut. 81 00:06:45,840 --> 00:06:48,160 So that's all for this string's we do. 82 00:06:48,180 --> 00:06:56,120 I hope you have understood we have space in these clinics and we have also seen some press. 83 00:06:57,090 --> 00:07:01,860 And so these are the most basic methods used using the programming.