| Name |
| IsEmail |
| IsDecimal |
| IsNumeric |
| IsPhoneNumber |
| IsCharacterString |
| DecodeHtml |
| FixHtml |
| Truncate |
| GetHash |
| ConvertToPersianDigit |
| ConvertToPersianChar |
| ConvertToEnglishDigit |
| GetSolidColorBrush |
| FormatRichTextBlock |
| FormatTextBlock |
| ToBitmapImage |
| GetLocalizedResource |
| GetEnum |
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| bool output1 = text.IsEmail();
bool output2 = text.IsDecimal();
bool output3 = text.IsNumeric();
bool output4 = text.IsPhoneNumber();
bool output5 = text.IsCharacterString();
var output6 = text.DecodeHtml();
var output7 = text.FixHtml();
var output8 = text.Truncate(length);
|
Demo
you can run demo and see this feature.