Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Strings Class
Strings Methods
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Strings Methods

The Strings type exposes the following members.

  NameDescription
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifAscOverloaded. Returns an Integer value representing the character code corresponding to a character.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifAscWOverloaded. Returns an Integer value representing the character code corresponding to a character.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifChr Returns the character associated with the specified character code.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifChrW Returns the character associated with the specified character code.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifFilterOverloaded. Returns a zero-based array containing a subset of a String array based on specified filter criteria.
2cx9cbwd.protmethod(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifFormat Returns a string formatted according to instructions contained in a format String expression.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifFormatCurrency Returns an expression formatted as a currency value using the currency symbol defined in the system control panel.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifFormatDateTime Returns a string expression representing a date/time value.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifFormatNumber Returns an expression formatted as a number.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifFormatPercent Returns an expression formatted as a percentage (that is, multiplied by 100) with a trailing % character.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifGetChar Returns a Char value representing the character from the specified index in the supplied string.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifGetType Gets the Type of the current instance. (Inherited from Object.)
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifInStrOverloaded. Returns an integer specifying the start position of the first occurrence of one string within another.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifInStrRev Returns the position of the first occurrence of one string within another, starting from the right side of the string.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifJoinOverloaded. Returns a string created by joining a number of substrings contained in an array.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifLCaseOverloaded. Returns a string or character converted to lowercase.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifLeft Returns a string containing a specified number of characters from the left side of a string.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifLenOverloaded. Returns an integer containing either the number of characters in a string or the nominal number of bytes required to store a variable.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifLSet Returns a left-aligned string containing the specified string adjusted to the specified length.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifLTrim 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).
2cx9cbwd.protmethod(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifMidOverloaded. Returns a string containing a specified number of characters from a string.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifReplace Returns a string in which a specified substring has been replaced with another substring a specified number of times.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifRight Returns a string containing a specified number of characters from the right side of a string.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifRSet Returns a right-aligned string containing the specified string adjusted to the specified length.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifRTrim 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).
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifSpace Returns a string consisting of the specified number of spaces.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifSplit Returns a zero-based, one-dimensional array containing a specified number of substrings.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifStrComp Returns -1, 0, or 1, based on the result of a string comparison.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gifStrConv Returns a string converted as specified.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifStrDupOverloaded. Returns a string or object consisting of the specified character repeated the specified number of times.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifStrReverse Returns a string in which the character order of a specified string is reversed.
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifToString Returns a String that represents the current Object. (Inherited from Object.)
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifTrim 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).
2cx9cbwd.pubmethod(en-us,VS.90).gif2cx9cbwd.static(en-us,VS.90).gif2cx9cbwd.CFW(en-us,VS.90).gifUCaseOverloaded. Returns a string or character containing the specified string converted to uppercase.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker