StrTextExten extension
文本工具类
- on
Methods
-
kformatDigitPattern(
{int digit = 4, String pattern = ' '}) → String? -
Available on String?, provided by the StrTextExten extension
每隔 x位 加 pattern。比如用来格式化银行卡 -
kformatDigitPatternEnd(
{int digit = 4, String pattern = ' '}) → String? -
Available on String?, provided by the StrTextExten extension
每隔 x位 加 pattern, 从末尾开始 -
khideNumber(
{int start = 3, int end = 7, String replace = '****'}) → String? -
Available on String?, provided by the StrTextExten extension
隐藏中间n位 -
kreverse(
) → String? -
Available on String?, provided by the StrTextExten extension
反转字符串