Visual Basic String Functions

Visual Basic String Function
Returns
string.Length
Integer
string.TrimStart([trimChars])
string.TrimEnd([trimChars])
string.Trim([trimChars])
String
string.Remove(startInddex, count)
String
string.Replace(oldValue, newValue)
String
Mid(targetString, start[, count]) = replacementString
 
string.PadLeft(length[, character])
string.PadRight(length[, character])
String
string.Insert(startIndex, value)
String
string.StartsWith(subString)
string.ToUpper.StartsWith(subString)
Boolean

string.ToUpper( )
string.ToLower( )

String
string.Contains(subString)
Boolean
string.IndexOf(subString[, startIndex])
Integer
string.SubString(startIndex[, count])
String
string.Compare(string1, string2[, ignoreCase])
Integer
string.Like pattern
Boolean