Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:07,070 --> 00:00:07,450
Hey there.
2
00:00:07,460 --> 00:00:11,720
Welcome back, friends to the world, according to the split engine functions.
3
00:00:12,290 --> 00:00:19,190
As the name suggests, a split function will split a specific a string, whereas a join function will
4
00:00:19,190 --> 00:00:19,910
join us.
5
00:00:19,910 --> 00:00:21,320
Splitting a string.
6
00:00:21,650 --> 00:00:26,960
Now, whenever we split a string indefinitely, we need to store the split in the string somewhat.
7
00:00:27,290 --> 00:00:34,280
So in order to store this, we will firstly create a variable and the name of the variable could be,
8
00:00:34,280 --> 00:00:35,930
for example, elements maybe.
9
00:00:36,650 --> 00:00:39,500
So let us give the name as elements.
10
00:00:40,460 --> 00:00:42,890
Now let us also give two value.
11
00:00:43,340 --> 00:00:50,270
And in between this value we will definitely make use of expression, language, and now let us make
12
00:00:50,270 --> 00:00:52,580
use of the split method.
13
00:00:52,760 --> 00:00:58,160
So in here, if we try autocomplete, definitely we are able to see the split option.
14
00:00:58,280 --> 00:01:00,170
So let us select this option.
15
00:01:00,290 --> 00:01:05,360
And in here, first of all, we need to give a string.
16
00:01:05,930 --> 00:01:06,410
All right.
17
00:01:06,470 --> 00:01:16,160
So the string would be, for example, w WW dot, steady, easy, dot or r t and we call to give the
18
00:01:16,160 --> 00:01:16,460
deal.
19
00:01:16,460 --> 00:01:24,020
M's So the split would be done by taking help of a character and that character in other keys would
20
00:01:24,020 --> 00:01:24,680
be dot.
21
00:01:25,490 --> 00:01:30,440
So whenever that is, a dot or string will be divided into two.
22
00:01:30,470 --> 00:01:37,160
So in here when we will be scanning w w w dot steady, you see this particular part of string would
23
00:01:37,160 --> 00:01:38,360
be divided into two.
24
00:01:38,360 --> 00:01:42,350
Then again, then we will see two dot authority again.
25
00:01:42,380 --> 00:01:44,150
The string would be divided into two.
26
00:01:44,180 --> 00:01:46,520
So in total we will have three parts.
27
00:01:46,880 --> 00:01:49,520
All right, now things says this element.
28
00:01:49,520 --> 00:01:51,470
So variable will become an array.
29
00:01:51,530 --> 00:01:52,130
Definitely.
30
00:01:52,130 --> 00:01:56,480
In order to traverse this array, we will make use of for each bag.
31
00:01:56,480 --> 00:02:05,690
So let us make use of for each in here and let us add in the attributes variable would be for example
32
00:02:06,200 --> 00:02:06,710
temp.
33
00:02:07,550 --> 00:02:15,640
Odd to be very specific, let us give the name as element and then we will add items and items would
34
00:02:15,680 --> 00:02:17,210
be elements, right?
35
00:02:17,810 --> 00:02:20,270
So in here will read elements.
36
00:02:21,350 --> 00:02:21,980
All right.
37
00:02:21,980 --> 00:02:23,270
So this looks good to me.
38
00:02:23,270 --> 00:02:24,950
No, but iteration.
39
00:02:24,950 --> 00:02:26,780
We will try to display the element.
40
00:02:26,780 --> 00:02:35,240
So in here again, let us make use of expression, language, and we will also add in a B tag real quick
41
00:02:35,240 --> 00:02:35,780
in here.
42
00:02:36,620 --> 00:02:37,280
All right.
43
00:02:37,310 --> 00:02:43,940
Now let s run this application on the Web server and here is the output so that a string has been split
44
00:02:44,090 --> 00:02:50,990
into three parts w w w is that easy and odd and splitting is done based on this deal.
45
00:02:51,350 --> 00:02:52,550
DOT All right.
46
00:02:52,640 --> 00:02:59,420
Now, for example, if we wish to join these elements, then again, that could be done.
47
00:02:59,480 --> 00:03:08,540
So in here again I can type an elements colon and then we will like join the entire set of element and
48
00:03:08,540 --> 00:03:11,360
try to create entire elements.
49
00:03:11,420 --> 00:03:11,720
Right.
50
00:03:12,140 --> 00:03:14,990
And in fact, we need to also add in a BURBANK.
51
00:03:15,500 --> 00:03:16,190
All right.
52
00:03:16,280 --> 00:03:22,310
And in here, again, expression, language, F and Colon join.
53
00:03:22,730 --> 00:03:23,330
All right.
54
00:03:23,690 --> 00:03:26,300
And know what is the name of the area.
55
00:03:26,960 --> 00:03:30,440
And it is nothing but elements, right?
56
00:03:30,440 --> 00:03:36,620
So we will simply pass elements to this method and it should work.
57
00:03:36,920 --> 00:03:38,210
Let me refresh the speech.
58
00:03:38,930 --> 00:03:41,180
That is some kind of issue.
59
00:03:42,050 --> 00:03:42,560
All right.
60
00:03:42,560 --> 00:03:44,150
So all right.
61
00:03:44,150 --> 00:03:46,260
So we need to also specify that.
62
00:03:46,290 --> 00:03:48,500
WILLIAMS That is something we have missed.
63
00:03:48,980 --> 00:03:51,520
So in here we will add in that.
64
00:03:51,530 --> 00:03:53,060
Williams as DOT.
65
00:03:53,660 --> 00:03:55,670
All right, let me refresh the beat.
66
00:03:56,420 --> 00:04:01,400
And now here is the output w w w dot steady z dot or Archie.
67
00:04:01,980 --> 00:04:02,810
All right.
68
00:04:03,110 --> 00:04:10,160
So this is how the split and join method box is split and join function box.
69
00:04:10,400 --> 00:04:10,850
All right.
70
00:04:10,910 --> 00:04:12,530
So this is it for today's video.
71
00:04:12,530 --> 00:04:13,850
I hope you guys enjoyed this.
72
00:04:14,120 --> 00:04:16,010
Thanks for watching and take care.
5607
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.