Sitecore 5.1.1 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

ArrayToString 
CapitalizeUppercases the first letter of a string and lowercases the remaining letters.
ClipClips a string at a certain length.
Concat 
Contains 
CutUpCuts a string into evenly sized parts.
Decode 
Encode 
EscapeJavascriptString 
EscapeQuote 
ExtractParameterExtracts a parameter string from a query string formatted string.
GetLastPart 
GetLongestPrefixOverloaded.  
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.
GetSizeString 
GetStringOverloaded.  
IndexOfOverloaded.  
IsWhiteSpace 
LeftGets the leftmost part of a string.
MidOverloaded. Gets the middle part of a string.
NameValuesToStringOverloaded.  
ParseArgumentsParses an argument list into a string array.
ReadPhraseReads a phrase from a string.
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.
StringArrayToNameValueCollection 
StringCollectionToStringOverloaded. Converts a string collection to a string
TrimEnd 
TrimStart 
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