VBScript Question:

Download Job Interview Questions and Answers PDF

What are string functions in VBScript?

VBScript Interview Question
VBScript Interview Question

Answer:

Asc() - Returns ANSI Character Code
Chr() - Returns Character from ANSI Code
InStr() - Find a string within another
InStrRev() - Find a string within another (Reverse)
LCase() - Convert a string to lowercase
Left() - Crops a string from left
Len() - Determine the length of a string
LTrim() - Remove leading spaces from a string
Mid() - Crops a string
Replace() - Replace a substring within a string
Right() - Crops a string from right
RTrim() - Remove trailing spaces from a string
Space() - Creates a string with the specified number of spaces
StrComp() - Compare two strings
String() - Creates a repeated character string
StrReverse() - Reverse the characters of a string
Trim() - Remove both leading and trailing spaces from a string
UCase() - Convert a string to uppercase

Download VBScript Interview Questions And Answers PDF

Previous QuestionNext Question
Explain VBScript in detail.Explain few date functions in VBScript.