60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
public trim(value: Text) (result: Text) {
|
|
result = dever.system.textTrim(value)
|
|
}
|
|
|
|
public lower(value: Text) (result: Text) {
|
|
result = dever.system.textLower(value)
|
|
}
|
|
|
|
public upper(value: Text) (result: Text) {
|
|
result = dever.system.textUpper(value)
|
|
}
|
|
|
|
public codepoint(value: Text) (result: Int?) {
|
|
result = dever.system.textCodepoint(value)
|
|
}
|
|
|
|
public fromCodepoint(value: Int) (result: Text?) {
|
|
result = dever.system.textFromCodepoint(value)
|
|
}
|
|
|
|
public at(value: Text, index: Int) (result: Text?) {
|
|
result = dever.system.textAt(value, index)
|
|
}
|
|
|
|
public slice(value: Text, start: Int, end: Int) (result: Text?) {
|
|
result = dever.system.textSlice(value, start, end)
|
|
}
|
|
|
|
public indexOf(value: Text, pattern: Text) (result: Int?) {
|
|
result = dever.system.textIndexOf(value, pattern)
|
|
}
|
|
|
|
public contains(value: Text, pattern: Text) (result: Bool) {
|
|
result = dever.system.textContains(value, pattern)
|
|
}
|
|
|
|
public startsWith(value: Text, prefix: Text) (result: Bool) {
|
|
result = dever.system.textStartsWith(value, prefix)
|
|
}
|
|
|
|
public endsWith(value: Text, suffix: Text) (result: Bool) {
|
|
result = dever.system.textEndsWith(value, suffix)
|
|
}
|
|
|
|
public split(value: Text, separator: Text) (result: List<Text>) {
|
|
result = dever.system.textSplit(value, separator)
|
|
}
|
|
|
|
public replace(value: Text, pattern: Text, replacement: Text) (result: Text) {
|
|
result = dever.system.textReplace(value, pattern, replacement)
|
|
}
|
|
|
|
public isEmpty(value: Text) (result: Bool) {
|
|
result = dever.system.textIsEmpty(value)
|
|
}
|
|
|
|
public join(values: List<Text>, separator: Text) (result: Text) {
|
|
result = dever.system.textJoin(values, separator)
|
|
}
|