Java 自定义方法 - BASE

来自牛奶河Wiki
阿奔讨论 | 贡献2024年5月15日 (三) 22:28的版本 (页面内容被替换为“Java 自定义函数 - BASE {| class="wikitable" |+ !No !Method !Explain !Example |- |1 |isnull |(null, "", [], {}) = true | |- |2 |log, logerror, logwarn |log | |- |3 |dt |date, time | |- |4 |hash, md5 |sha, sha-256, md5, etc | |- |5 |base64, ubase64 |BASE64 | |- |6 |des, udes |DES crypt | |- |7 |str2list |String to List | |- |8 |str2map |String to Map | |- |9 |list2map |List to Map | |- |10 |reverse |reverse string, abc -> cba | |- |12 |rep |replace str…”)
跳到导航 跳到搜索

Java 自定义函数 - BASE

No Method Explain Example
1 isnull (null, "", [], {}) = true
2 log, logerror, logwarn log
3 dt date, time
4 hash, md5 sha, sha-256, md5, etc
5 base64, ubase64 BASE64
6 des, udes DES crypt
7 str2list String to List
8 str2map String to Map
9 list2map List to Map
10 reverse reverse string, abc -> cba
12 rep replace string from map
11 trim remove substring, left & right
13 at CAS, (1, -1, n)

GIT

https://github.com/ldscfe/udefj2/blob/main/src/main/com/udf/BASE.java