Text Function
Text Function
Function
Defination Syntax Example Answer
Name
It display left side character as per
Left() =Left("text",number of character) =Left("Gangajal Ghati",5) Ganga
number supply
It display right side character as per
Right() =Right("text",number of character) =Right("Gangajal Ghati",5) Ghati
number supply
It display character from starting =Mid("text",starting number,number
Mid() =Mid("Gangajal Ghati",6,3) jal
number to number of character of character)
It convert all lower case into upper
Upper() =Upper("text in small letter") =Upper("gangajal ghati") GANGAJAL GHATI
case
It convert all upper case into lower
Lower() =Lower("text in capital letter") =Lower("GANGAJAL GHATI") gangajal ghati
case
It convert all lower case of each
Proper() =Proper("text") =proper("happy new year 2021") Happy New Year 2021
word into upper case
It count number of character form a
Len() =Len("text") =Len("Gangajal ghati") 14
text string
It removes all unnessary space and =Trim("text with more than one
Trim() =Trim("My name is …..") My name is …..
accept one space between words space")
Rept() It repeat Text as per number supply =Rept("text",number of time) =Rept("Bankura ",4) Bankura Bankura Bankura Bankura