All language subtitles for 8. Exercise 13 String Functions

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 0 1 00:00:01,280 --> 00:00:02,048 Hi everyone 1 2 00:00:03,328 --> 00:00:06,400 So now we have covered all the string functions 2 3 00:00:07,936 --> 00:00:11,776 In string functions you learnt how to find out length of characters 3 4 00:00:12,288 --> 00:00:14,336 Change characters to upper or lowercase 4 5 00:00:15,104 --> 00:00:16,896 Find out substrings in a string 5 6 00:00:17,664 --> 00:00:22,272 Trim extra spaces or any other extra special character from a string 6 7 00:00:23,296 --> 00:00:25,088 And to create an aggregate string 7 8 00:00:26,624 --> 00:00:28,672 Let us test this out in this exercise 8 9 00:00:30,208 --> 00:00:30,720 First 9 10 00:00:31,232 --> 00:00:32,512 I want you to find out 10 11 00:00:32,768 --> 00:00:34,048 The product name 11 12 00:00:34,304 --> 00:00:37,376 Which has maximum length. so out of all the product names 12 13 00:00:37,632 --> 00:00:40,192 Which product name has the maximum length 13 14 00:00:40,704 --> 00:00:43,776 Next let us see if you are able to do concatenation 14 15 00:00:44,288 --> 00:00:50,432 I wanted to join product name subcategory and category from the product table into a column 15 16 00:00:50,688 --> 00:00:52,224 Called product details 16 17 00:00:52,480 --> 00:00:52,992 So 17 18 00:00:53,248 --> 00:00:55,552 Your resultset will have four columns 18 19 00:00:56,320 --> 00:00:57,088 Product name 19 20 00:00:57,344 --> 00:00:59,136 Sub category category 20 21 00:00:59,392 --> 00:01:04,256 And the fourth one is product details which is concatenation of the previous three columns 21 22 00:01:05,280 --> 00:01:06,560 In the third activity 22 23 00:01:07,584 --> 00:01:09,888 If you go and look at the product IDs 23 24 00:01:10,400 --> 00:01:11,680 In your product table 24 25 00:01:12,192 --> 00:01:14,496 you will see it consists of three parts 25 26 00:01:15,520 --> 00:01:17,312 Which is separated by hyphens 26 27 00:01:18,336 --> 00:01:20,384 Analyze these three parts 27 28 00:01:21,152 --> 00:01:27,296 Check the length of all these three parts and separate these three parts out so in your resultset 28 29 00:01:27,552 --> 00:01:28,832 What I want is 29 30 00:01:29,088 --> 00:01:31,136 Your first column should be the product ID 30 31 00:01:31,648 --> 00:01:34,720 The second column should have the first part of the product ID 31 32 00:01:34,976 --> 00:01:40,864 Third column should have the second part of product ID and fourth column should have the third part of product ID 32 33 00:01:41,120 --> 00:01:42,912 And in the last activity 33 34 00:01:43,168 --> 00:01:45,472 You have to get a list of all the 34 35 00:01:45,728 --> 00:01:47,264 Chairs or tables 35 36 00:01:48,032 --> 00:01:49,056 From your products table 36 37 00:01:49,568 --> 00:01:52,384 So wherever subcategory is chairs or tables 37 38 00:01:52,896 --> 00:01:55,200 I want you to get the list of all those products 38 39 00:01:55,712 --> 00:01:58,016 and aggregate those product names 39 40 00:01:58,528 --> 00:02:00,320 Into a comma separated list 40 41 00:02:01,088 --> 00:02:04,416 So in your final table it will have only two rows 41 42 00:02:05,184 --> 00:02:06,208 In the First row 42 43 00:02:06,720 --> 00:02:07,744 It will have 43 44 00:02:08,000 --> 00:02:10,816 List of all shares which are separated by comma 44 45 00:02:11,328 --> 00:02:16,448 And in the second row it will have list of all tables separated by comma 45 46 00:02:17,472 --> 00:02:19,520 If you are able to do this exercise 46 47 00:02:19,776 --> 00:02:22,592 You have successfully learnt the lesson taught in the 47 48 00:02:22,848 --> 00:02:24,128 String functions section and you are now ready to move to next section 3945

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.