🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# System.Extension 类 ## 注释 ~~~ 扩展方法 ~~~ ## 语法 ~~~ public static class Extension ~~~ ## 方法 | | 名称 | 说明 | | --- | --- | --- | | | [FormatWith](https://www.kancloud.cn/gxser1986/cqrobot/3015591) | 指定格式化字符串序列格式化当前字符串实例。 | | | [IsNull](https://www.kancloud.cn/gxser1986/cqrobot/3015592) | 是否为Null | | | [IsEmpty](https://www.kancloud.cn/gxser1986/cqrobot/3015593) | 是否为Empty | | | [IfEmpty](https://www.kancloud.cn/gxser1986/cqrobot/3015594) | 如果为空 | | | [Compare](https://www.kancloud.cn/gxser1986/cqrobot/3015595) | 是否相等 | | | [Left](https://www.kancloud.cn/gxser1986/cqrobot/3015596) | 获取左N位 | | | [Right](https://www.kancloud.cn/gxser1986/cqrobot/3015597) | 获取右N位 | | | [Split](https://www.kancloud.cn/gxser1986/cqrobot/3015598) | Split | | | [Split](https://www.kancloud.cn/gxser1986/cqrobot/3015599) | Split | | | [MD5](https://www.kancloud.cn/gxser1986/cqrobot/3015600) | MD5加密 | | | [MD5](https://www.kancloud.cn/gxser1986/cqrobot/3015601) | MD5加密 | | | [SHA1](https://www.kancloud.cn/gxser1986/cqrobot/3015602) | SHA1加密 | | | [ToString](https://www.kancloud.cn/gxser1986/cqrobot/3015603) | 字符串转字符串 | | | [ToInt](https://www.kancloud.cn/gxser1986/cqrobot/3015604) | 字符串转整型 | | | [ToInt](https://www.kancloud.cn/gxser1986/cqrobot/3015605) | 字符串转整型 | | | [ToBoolean](https://www.kancloud.cn/gxser1986/cqrobot/3015606) | 字符串转布尔值 | | | [ToBoolean](https://www.kancloud.cn/gxser1986/cqrobot/3015607) | 字符串转布尔值 | | | [ToDateTime](https://www.kancloud.cn/gxser1986/cqrobot/3015608) | 字符串转时间 | | | [ToDateTime](https://www.kancloud.cn/gxser1986/cqrobot/3015609) | 字符串转时间 | | | [InArray](https://www.kancloud.cn/gxser1986/cqrobot/3015610) | 是否在素组里面 | | | [HtmlEncode](https://www.kancloud.cn/gxser1986/cqrobot/3015611) | HtmlEncode | | | [HtmlDecode](https://www.kancloud.cn/gxser1986/cqrobot/3015612) | HtmlDecode | | | [UrlEncode](https://www.kancloud.cn/gxser1986/cqrobot/3015613) | 返回 URL 字符串的编码结果 | | | [UrlDecode](https://www.kancloud.cn/gxser1986/cqrobot/3015614) | 返回 URL 字符串的编码结果 | | | [GetDateTime](https://www.kancloud.cn/gxser1986/cqrobot/3015615) | 时间戳转时间 | | | [GetTimeMillis](https://www.kancloud.cn/gxser1986/cqrobot/3015616) | 时间转时间戳 | | | [Has](https://www.kancloud.cn/gxser1986/cqrobot/3015617) | 是否存在权限 | | | [Is](https://www.kancloud.cn/gxser1986/cqrobot/3015618) | 判断权限 | | | [Add](https://www.kancloud.cn/gxser1986/cqrobot/3015619) | 添加权限 | | | [Remove](https://www.kancloud.cn/gxser1986/cqrobot/3015620) | 移除权限 |