Export (0) Print
Expand All

Strings Methods

The Strings type exposes the following members.

  Name Description
Public method Static member AscW(Char) Returns an Integer value representing the character code corresponding to a character.
Public method Static member AscW(String) Returns an Integer value representing the character code corresponding to a character.
Public method Static member ChrW Returns the character associated with the specified character code.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member Filter(Object[], String, Boolean, CompareMethod) Returns a zero-based array containing a subset of a String array based on specified filter criteria.
Public method Static member Filter(String[], String, Boolean, CompareMethod) Returns a zero-based array containing a subset of a String array based on specified filter criteria.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member Format Returns a string formatted according to instructions contained in a format String expression.
Public method Static member FormatCurrency Returns an expression formatted as a currency value using the currency symbol defined in the system control panel.
Public method Static member FormatDateTime Returns a string expression representing a date/time value.
Public method Static member FormatNumber Returns an expression formatted as a number.
Public method Static member FormatPercent Returns an expression formatted as a percentage (that is, multiplied by 100) with a trailing % character.
Public method Static member GetChar Returns a Char value representing the character from the specified index in the supplied string.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member InStr(String, String, CompareMethod) Returns an integer specifying the start position of the first occurrence of one string within another.
Public method Static member InStr(Int32, String, String, CompareMethod) Returns an integer specifying the start position of the first occurrence of one string within another.
Public method Static member InStrRev Returns the position of the first occurrence of one string within another, starting from the right side of the string.
Public method Static member Join(Object[], String) Returns a string created by joining a number of substrings contained in an array.
Public method Static member Join(String[], String) Returns a string created by joining a number of substrings contained in an array.
Public method Static member LCase(Char) Returns a string or character converted to lowercase.
Public method Static member LCase(String) Returns a string or character converted to lowercase.
Public method Static member Left Returns a string containing a specified number of characters from the left side of a string.
Public method Static member Len Returns an integer containing either the number of characters in a string or the nominal number of bytes required to store a variable.
Public method Static member LSet Returns a left-aligned string containing the specified string adjusted to the specified length.
Public method Static member LTrim Returns a string containing a copy of a specified string with no leading spaces (LTrim), no trailing spaces (RTrim), or no leading or trailing spaces (Trim).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Mid(String, Int32) Returns a string containing a specified number of characters from a string.
Public method Static member Mid(String, Int32, Int32) Returns a string containing a specified number of characters from a string.
Public method Static member Replace Returns a string in which a specified substring has been replaced with another substring a specified number of times.
Public method Static member Right Returns a string containing a specified number of characters from the right side of a string.
Public method Static member RSet Returns a right-aligned string containing the specified string adjusted to the specified length.
Public method Static member RTrim Returns a string containing a copy of a specified string with no leading spaces (LTrim), no trailing spaces (RTrim), or no leading or trailing spaces (Trim).
Public method Static member Space Returns a string consisting of the specified number of spaces.
Public method Static member Split Returns a zero-based, one-dimensional array containing a specified number of substrings.
Public method Static member StrComp Returns -1, 0, or 1, based on the result of a string comparison.
Public method Static member StrDup(Int32, Char) Returns a string or object consisting of the specified character repeated the specified number of times.
Public method Static member StrDup(Int32, Object) Returns a string or object consisting of the specified character repeated the specified number of times.
Public method Static member StrDup(Int32, String) Returns a string or object consisting of the specified character repeated the specified number of times.
Public method Static member StrReverse Returns a string in which the character order of a specified string is reversed.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Static member Trim Returns a string containing a copy of a specified string with no leading spaces (LTrim), no trailing spaces (RTrim), or no leading or trailing spaces (Trim).
Public method Static member UCase(Char) Returns a string or character containing the specified string converted to uppercase.
Public method Static member UCase(String) Returns a string or character containing the specified string converted to uppercase.
Top

Community Additions

ADD
Show:
© 2014 Microsoft