Click or drag to resize
Cimbalino ToolkitStringExtensions Class
Provides a set of static (Shared in Visual Basic) methods for String instances.
Inheritance Hierarchy
SystemObject
  Cimbalino.Toolkit.ExtensionsStringExtensions

Namespace: Cimbalino.Toolkit.Extensions
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public static class StringExtensions

The StringExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFormatWith(String, Object)
Replaces one or more format items in the string with the string representation of a specified object.
Public methodStatic memberFormatWith(String, IFormatProvider, Object)
Replaces one or more format items in the string with the string representation of a specified object.
Public methodStatic memberFormatWithInvariantCulture
Replaces one or more format items in the string with the string representation of a specified object, using an InvariantCulture.
Public methodStatic memberFromBase64String
Converts the string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.
Public methodStatic memberGetBytes(String)
Encodes all the characters in the string into a sequence of UTF8 bytes.
Public methodStatic memberGetBytes(String, Encoding)
Encodes all the characters in the string into a sequence of bytes, using the specified Encoding.
Public methodStatic memberLeft
Returns a new string containing the specified number of characters from the left side of the current string.
Public methodStatic memberRegexIsMatch(String, String)
Indicates whether the regular expression finds a match in the input string using the regular expression specified in the pattern parameter.
Public methodStatic memberRegexIsMatch(String, String, RegexOptions)
Indicates whether the regular expression finds a match in the input string, using the regular expression specified in the pattern parameter and the matching options supplied in the options parameter.
Public methodStatic memberRegexMatch(String, String)
Searches the specified input string for the first occurrence of the regular expression supplied in the pattern parameter.
Public methodStatic memberRegexMatch(String, String, RegexOptions)
Searches the input string for the first occurrence of the regular expression supplied in a pattern parameter with matching options supplied in an options parameter.
Public methodStatic memberRegexMatches(String, String)
Searches the specified input string for all occurrences of the regular expression specified in the pattern parameter.
Public methodStatic memberRegexMatches(String, String, RegexOptions)
Searches the specified input string for all occurrences of the regular expression supplied in a pattern parameter with matching options supplied in an options parameter.
Public methodStatic memberRegexReplace(String, String, String)
Within a specified input string, replaces all strings that match a specified regular expression with a specified replacement string.
Public methodStatic memberRegexReplace(String, String, MatchEvaluator)
Within a specified input string, replaces all strings that match a specified regular expression with a string returned by a MatchEvaluator delegate.
Public methodStatic memberRegexReplace(String, String, String, RegexOptions)
Within a specified input string, replaces all strings that match a specified regular expression with a specified replacement string. Specified options modify the matching operation.
Public methodStatic memberRegexReplace(String, String, MatchEvaluator, RegexOptions)
Within a specified input string, replaces all strings that match a specified regular expression with a string returned by a MatchEvaluator delegate. Specified options modify the matching operation.
Public methodStatic memberRemoveLeft
Returns a new string in which a specified number of characters from the left side of the current string are deleted.
Public methodStatic memberRemoveRight
Returns a new string in which a specified number of characters from the right side of the current string are deleted.
Public methodStatic memberRight
Returns a new string containing the specified number of characters from the right side of the current string.
Public methodStatic memberTimes
Returns a new string by repeating the current string the specified number of times.
Top
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also