Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:07,280 --> 00:00:07,670
Hey there.
2
00:00:07,670 --> 00:00:08,840
Welcome back, friends.
3
00:00:08,930 --> 00:00:14,750
Today, we will try to understand a very quickly couple of more functions related to G SDL.
4
00:00:14,990 --> 00:00:16,070
So let's get started.
5
00:00:16,490 --> 00:00:23,390
Now, these functions are based on strings and they're definitely, as the name suggest, we can easily
6
00:00:23,390 --> 00:00:25,520
make out what these functions do.
7
00:00:26,000 --> 00:00:34,220
The name of these forward functions that starts with ends with, contains and contains ignore keys.
8
00:00:34,700 --> 00:00:38,960
So in here, first of all, we have created this weird evil by the name of V.
9
00:00:39,200 --> 00:00:42,680
So definitely we can also make use of a variable as well.
10
00:00:43,100 --> 00:00:45,200
Now, let us take this first example.
11
00:00:45,290 --> 00:00:52,700
In here we are making use of this start with function where the strings, the study is the dot org and
12
00:00:52,700 --> 00:00:54,380
the parameter is s.
13
00:00:54,950 --> 00:00:56,630
Now it definitely is that easy.
14
00:00:56,630 --> 00:00:58,840
Dot org starts with s.
15
00:00:59,390 --> 00:01:01,010
So this particular statement.
16
00:01:01,010 --> 00:01:02,300
Well, give us true.
17
00:01:03,020 --> 00:01:06,420
Then moving forward we have this ends with function.
18
00:01:06,980 --> 00:01:15,140
Now in here v is what v is nothing but the variable and is steady is the dot org is the contents.
19
00:01:15,140 --> 00:01:21,010
Inside this variable now are definitely a steady zero to our end with or t.
20
00:01:21,020 --> 00:01:25,130
So again, the second statement will again give us true.
21
00:01:25,610 --> 00:01:27,650
Then comes contents.
22
00:01:28,070 --> 00:01:35,170
Now here again is steady easy that ARG contains or RG, but these functions are keys and set up.
23
00:01:35,180 --> 00:01:42,920
So definitely this third statement will give us false and then we have yet another function contains
24
00:01:42,920 --> 00:01:43,730
ignore keys.
25
00:01:44,030 --> 00:01:48,020
So if we ignore the keys, then the condition becomes true.
26
00:01:48,200 --> 00:01:53,270
So let us check whether we get the appropriate answers are not so, Don.
27
00:01:53,270 --> 00:01:54,110
So is that true?
28
00:01:54,110 --> 00:01:54,350
True.
29
00:01:54,350 --> 00:01:55,160
False, true.
30
00:01:57,280 --> 00:01:57,880
Here we go.
31
00:01:58,030 --> 00:02:00,040
So definitely as expected.
32
00:02:00,370 --> 00:02:01,200
Doubt Waters.
33
00:02:01,330 --> 00:02:01,810
True, true.
34
00:02:01,810 --> 00:02:02,470
False, true.
35
00:02:02,800 --> 00:02:07,570
Now in here, for example, I give it as easy.
36
00:02:08,229 --> 00:02:10,930
Then the first two statement is null.
37
00:02:10,930 --> 00:02:11,500
False.
38
00:02:11,830 --> 00:02:13,690
If I say ends with.
39
00:02:15,040 --> 00:02:22,120
Or maybe then again the second statement will be false, then content or oddity.
40
00:02:22,390 --> 00:02:24,070
But definitely this is false.
41
00:02:24,070 --> 00:02:26,110
But we will make it as or Archie.
42
00:02:26,830 --> 00:02:33,190
Then we will check out the last statement and we will give the parameter as easy.
43
00:02:33,520 --> 00:02:37,450
All right, so now things will change quite a bit.
44
00:02:37,780 --> 00:02:39,970
So first one will give us false.
45
00:02:40,030 --> 00:02:42,490
Second one will again give us false.
46
00:02:42,880 --> 00:02:45,640
Third and fourth, the statements will give us true.
47
00:02:45,640 --> 00:02:46,810
So it would be false.
48
00:02:46,810 --> 00:02:47,200
False.
49
00:02:47,290 --> 00:02:47,560
True.
50
00:02:47,560 --> 00:02:47,890
True.
51
00:02:48,220 --> 00:02:51,700
Let me refresh the speech and here is the output.
52
00:02:52,240 --> 00:02:59,140
So these are the very useful functions which can be definitely used whenever we are working, but the
53
00:02:59,140 --> 00:03:00,670
strings ordered.
54
00:03:00,670 --> 00:03:02,530
So this is it for today's video.
55
00:03:02,530 --> 00:03:03,880
This as John Shakes signing off.
56
00:03:03,910 --> 00:03:04,900
Thanks for watching.
4237
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.