StringX extension
Extensions for String.
- on
Properties
- asXmlDocument → XmlDocument?
-
Convert String to XmlDocument
no setter
- valDouble → double?
-
String to double.
no setter
- valInt → int?
-
String to int.
no setter
- valNum → num?
-
String to num.
no setter
- withCommaSeparated → String
-
Format int value of String with thousand separator
,
.no setter - withoutComma → String
-
Remove every
,
from Stringno setter - xmlToJson → dynamic
-
Parses the xml string and returns the resulting Json object.
no setter
- xmlToText → String
-
String value of XmlDocument
no setter
Methods
-
areTheSame(
String other) → bool - Check two strings are equal.
-
toDateTime(
) → DateTime? - String to DateTime?
-
toFormattedDateTime(
{bool addJM = false}) → String - String to formatted DateTime