StringExt extension
- @Author: chuxiong
- @Created at: 2023/3/2 4:03 下午
- @Email:
- @Company: 嘉联支付
- description String扩展:
- on
Properties
- defaultMoneyStr → String
-
Available on String?, provided by the StringExt extension
no setter - defaultString → String
-
Available on String?, provided by the StringExt extension
no setter - formatMoney → String
-
Available on String?, provided by the StringExt extension
no setter - fullToHalf → String
-
Available on String?, provided by the StringExt extension
字符串全角转半角no setter - isNullOrEmpty → bool
-
Available on String?, provided by the StringExt extension
no setter - isUrl → bool
-
Available on String?, provided by the StringExt extension
no setter - isValidChineseMobile → bool
-
Available on String?, provided by the StringExt extension
no setter - maskMobile → String
-
Available on String?, provided by the StringExt extension
no setter - notNullStr → String
-
Available on String?, provided by the StringExt extension
no setter - parseIntWithDefault → int
-
Available on String?, provided by the StringExt extension
no setter - thousandSeparated → String
-
Available on String?, provided by the StringExt extension
no setter
Methods
-
containsIgnoreCase(
String other) → bool - 字符串匹配/搜索,忽略大小写
-
defaultStrWithEmpty(
{String? emptyStr}) → String -
moneyFormatWithUnit(
bool autoMoneyUnit) → String -
removeUrlProtocol(
) → String -
substringSafe(
int start, [int? end]) → String -
toDouble(
) → double? -
toInt(
) → int?