Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Hey there.
Welcome back, friends.
From today, we will start exploring the function related tags which are available under GST.
L Notice if I show you this particular article, we have the tag clips available for GST l function
tags as well in here.
So let me copy this part and now let me paste this part in here.
Now again, we will also make use of the code tags so we will keep this particular tag lib in here.
All right.
Now, moving forward, for example, in here, I type in F and colon and then try to autocomplete as
the prefix is a fin.
Somehow you won't be able to get any proposals.
The reason is, when it comes to function tags, the way of using the function tags is a little different.
Let me show you in here.
In order to make use of function tags, we need to take care of POS.
Yes, you have guessed it right.
We need to take help of expression language.
So now they will type in FN colon and try to autocomplete and we would be able to see the list of all
the functions which are available to us now for example, to start with, to be checking the length
tag.
Then we have this function.
Now the reason why it is called as function tags, the reason is very simple.
All of these attributes, all of these tags and nothing but functions.
So in here the length is a function and it requires a parameter.
The parameter could be a string or it could be also object.
So in here, the start of it, we will add in a very simple string which would be like straight, easy
dot or t.
Let me see if the changes and the know.
If I execute this program, I execute this GSP file, then it will counted the number of characters
in this string and it will return the count.
And in total there are 13 characters.
So definitely the output should be 13 and here is the output as expected.
Now moving forward, let us also check whether this led the method is capable of giving us the length
of an object, the number of objects available in a complex object.
So in order to test this, we will make use of a script let so any and this is complete.
We will definitely make use of r A-D and the type of that.
It would be a string area and we will give the name as a names and let us initialize this at a real
quick.
So the first name could be my name.
Second name could be a generic name, for example.
John And finally the third name could be any name, for example.
Adila All right, so this looks good to me.
Then moving forward, let us try to read the information.
Let us try to read the length of this.
Eddy So in here, if I try to panic, you read the information which is bad in this area by putting
in the name of this area as the names, then somehow the output would be correct and output would be
zero.
But the reason why we are getting this as zero, because we are not able to read the information properly
inside this land method.
Now the solution is very simple.
Let me show you.
Let me expand this.
So in here we will make use of a code tag and the code tiger's set tag.
So we will, first of all, create a variable.
Let me show you.
And it could be a self-contained tag as well.
And in here, first thing would be giving the name of this variable.
The name of the variable could be like names Eddie.
And then we will give the value.
Value would be nothing but the Eddie now in here in order to read Eddie from a script, definitely we
will make use of expression element and we will give the variable name as names.
And finally, for value, give this newly created variable name in here and now a word.
Work should be done.
And in here.
Now it should be No.
Three.
Perfect.
Fantastic.
So this is how we can look at the length of any complex object.
And reading a length of and a string is rather very simple.
All right.
So this is it for today's video.
I hope you guys enjoyed it.
Thanks for watching.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.