StringExtensions
Extension methods for working with strings
Definition
Namespace:Telerik.DataSource.Extensions
Assembly:Telerik.DataSource.dll
Syntax:
public static class StringExtensions
Inheritance: objectStringExtensions
Methods
Replaces the format item in a specified System.String with the text equivalent of the value of a corresponding System.Object instance in a specified array.
public static string FormatWith(this string instance, params object[] args)
A string to format.
argsobject[]An System.Object array containing zero or more objects to format.
Returns:A copy of format in which the format items have been replaced by the System.String equivalent of the corresponding instances of System.Object in args.
Determines whether this instance and another specified System.String object have the same value.
Determines whether this instance and another specified System.String object have the same value.
Returns the enum member the string parses to
public static T ToEnum<T>(this string value, T defaultValue)
T