Buildin functions Message box Msgbox hello Input box
Build-in functions
Message box Msgbox (“hello”)
Input box Inputbox (“enter the first number”)
Uppercase and lowercase Lcase(string) – to change a text to lower case Ucase(string) – to change a text to upper case
• Len(string) - length of the string • Ltrim(string) - removes the leading spaces • Rtrim(string)- removes the trailing spaces • Trim(string)-removes both the spaces
• Left (string, no: of chars) • right (string, no: of chars) Used to extract a certain number of characters from the leftmost or rightmost portion of a string. • Mid (string, start-position, no: of chars) to extract characters from the middle of a string
• Space (number)- to insert spaces • Strreverse(string) – to reverse a string • Now() - current date and time • Date() – current date • Time() – current time
Build in functions • • • • Msgbox (“hello”) Inputbox (“enter the first number”) Lcase(string) – to change a text to lower case Ucase(string) – to change a text to upper case Len(string) - length of the string Ltrim(string) - removes the leading spaces Rtrim(string)- removes the trailing spaces Trim(string)-removes both the spaces Left (string, no: of chars) right (string, no: of chars) Mid (string, start-position, no: of chars) Strreverse(string) – to reverse a string Now() - current date and time Date() – current date Time() – current time
- Slides: 8