Sitecore 5.0 API

StringUtil Methods

The methods of the StringUtil class are listed below. For a complete list of StringUtil class members, see the StringUtil Members topic.

Public Static (Shared) Methods

ArrayToStringStres array to.
CapitalizeUppercases the first letter of a string and lowercases the remaining letters.
ClipClips a string at a certain length.
ConcatConcats the current instance.
ContainsDetermines if the current instance contains a text.
CutUpCuts a string into evenly sized parts.
DecodeDecodes the current instance.
EncodeEncodes the current instance.
EscapeQuoteEscapes the quote.
ExtractParameterExtracts a parameter string from a query string formatted string.
GetLastPartGets the last part.
GetLongestPrefixOverloaded. Gets the longest prefix.
GetNameValuesOverloaded. Converts a string to a name/value collection.
GetPostfixOverloaded. Gets the postfix part of a string.
GetPrefixOverloaded. Gets the prefix part of a string.
GetStringOverloaded. Stres the get.
IndexOfOverloaded. Indexs the of.
IsWhiteSpaceGets a value indicating whether the current instance is white space.
LeftGets the leftmost part of a string.
MidOverloaded. Gets the middle part of a string.
NameValuesToStringOverloaded. Stres name of the values to.
ParseArgumentsParses an argument list into a string array.
ReadPhrase 
RemoveTagsRemove tags from a string.
RepeatRepeats a string a number of times.
ReplaceReplace a character array with strings.
RightGets the rightmost part of a string.
SplitOverloaded. Splits a string while protecting phrases.
StringArrayToNameValueCollectionStres name of the array to value collection.
StringCollectionToStringOverloaded. Converts a string collection to a string
TrimEndTrims the end.
TrimStartTrims the start.
UnquoteRemoves enclosing single and double quotes from a string.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

StringUtil Class | Sitecore Namespace | DateUtil | MainUtil | StringUtil