Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StringUtils Members

StringUtils overview

Public Static (Shared) Fields

EmptyStrings An empty array of String instances.

Public Static (Shared) Methods

ArrayToCommaDelimitedString Convenience method to return an array as a CSV String.
ArrayToDelimitedString Convenience method to return a String array as a delimited (e.g. CSV) String.
CollectionToCommaDelimitedString Convenience method to return an ICollection as a CSV String.
CollectionToDelimitedString Convenience method to return an ICollection as a delimited (e.g. CSV) String.
CommaDelimitedListToStringArray Convert a CSV list into an array of Strings.
ConvertEscapedCharacters Converts escaped characters (for example "\t") within a string to their real character.
DelimitedListToStringArray Take a String which is a delimited list and convert it to a String array.
GetAntExpressions Returns a list of Ant-style expressions from the specified text.
GetTextOrNull Returns value, if it contains non-whitespaces. null otherwise.
HasLengthChecks if a string has length.
HasText Checks if a String has text.
IsNullOrEmpty Checks if a String is a null reference (Nothing in Visual Basic) or an empty string.
SetAntExpression Replaces Ant-style expression placeholder with expression value.
SplitOverloaded. Tokenize the given String into a String array.
StripFirstAndLastCharacter Strips first and last character off the string.
SurroundOverloaded. Surrounds (prepends and appends) the string value of the supplied fix to the supplied target.

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. GetHashCode is 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

StringUtils Class | Spring.Util Namespace