Class StringExtensions
String extensions helper.
Inherited Members
Namespace: EduCATS.Helpers.Extensions
Assembly: EduCATS.dll
Syntax
public static class StringExtensions
  Methods
FirstCharToUpper(string)
Convert first char of string to uppercase.
Declaration
public static string FirstCharToUpper(this string input)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | input | Input string.  | 
      
Returns
| Type | Description | 
|---|---|
| string | Converted string.  | 
      
RemoveHTMLTags(string)
Remove HTML tags from string.
Declaration
public static string RemoveHTMLTags(this string input)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | input | Input string.  | 
      
Returns
| Type | Description | 
|---|---|
| string | String without HTML tags.  | 
      
RemoveLinks(string)
Remove links from string.
Declaration
public static string RemoveLinks(this string input)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | input | Input string.  | 
      
Returns
| Type | Description | 
|---|---|
| string | String without links.  | 
      
StringToDouble(string)
Convert string to double.
Declaration
public static double StringToDouble(this string stringToConvert)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | stringToConvert | String to convert.  | 
      
Returns
| Type | Description | 
|---|---|
| double | Double value.  |