Dever v0.0.2
This commit is contained in:
commit
e6e175ebcf
816 files changed
+120349
No files matched your search
+59
@@ -0,0 +1,59 @@
|
||||
trim(value: Text) (result: Text) {
|
||||
result = dever.system.textTrim(value)
|
||||
}
|
||||
|
||||
lower(value: Text) (result: Text) {
|
||||
result = dever.system.textLower(value)
|
||||
}
|
||||
|
||||
upper(value: Text) (result: Text) {
|
||||
result = dever.system.textUpper(value)
|
||||
}
|
||||
|
||||
codepoint(value: Text) (result: Int?) {
|
||||
result = dever.system.textCodepoint(value)
|
||||
}
|
||||
|
||||
fromCodepoint(value: Int) (result: Text?) {
|
||||
result = dever.system.textFromCodepoint(value)
|
||||
}
|
||||
|
||||
at(value: Text, index: Int) (result: Text?) {
|
||||
result = dever.system.textAt(value, index)
|
||||
}
|
||||
|
||||
slice(value: Text, start: Int, end: Int) (result: Text?) {
|
||||
result = dever.system.textSlice(value, start, end)
|
||||
}
|
||||
|
||||
indexOf(value: Text, pattern: Text) (result: Int?) {
|
||||
result = dever.system.textIndexOf(value, pattern)
|
||||
}
|
||||
|
||||
contains(value: Text, pattern: Text) (result: Bool) {
|
||||
result = dever.system.textContains(value, pattern)
|
||||
}
|
||||
|
||||
startsWith(value: Text, prefix: Text) (result: Bool) {
|
||||
result = dever.system.textStartsWith(value, prefix)
|
||||
}
|
||||
|
||||
endsWith(value: Text, suffix: Text) (result: Bool) {
|
||||
result = dever.system.textEndsWith(value, suffix)
|
||||
}
|
||||
|
||||
split(value: Text, separator: Text) (result: List<Text>) {
|
||||
result = dever.system.textSplit(value, separator)
|
||||
}
|
||||
|
||||
replace(value: Text, pattern: Text, replacement: Text) (result: Text) {
|
||||
result = dever.system.textReplace(value, pattern, replacement)
|
||||
}
|
||||
|
||||
isEmpty(value: Text) (result: Bool) {
|
||||
result = dever.system.textIsEmpty(value)
|
||||
}
|
||||
|
||||
join(values: List<Text>, separator: Text) (result: Text) {
|
||||
result = dever.system.textJoin(values, separator)
|
||||
}
|
||||
Reference in new issue
Block a user