Home > DeveloperSection > Interviews > What are string functions in VBScript?

Posted on    March-19-2011 12:00 AM

 VB Script VB Script 
Ratings:
 1 Answer(s)
  1703  View(s)
Rate this:

Amit Singh

Total Post:565

Points:2825
Posted on    March-19-2011 12:00 AM

String functions in VB Script

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
 

Don't want to miss updates? Please click the below button!

Follow MindStick