1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
dtcsVersion: "1.0.0"
id: "stdlib.function.substr.valid"
name: "Stdlib Substr Valid"
version: "0.1.0"
inputs:
- id: "in"
schema:
fields:
- name: "text"
type: "string"
nullable: false
outputs:
- id: "out"
schema:
fields:
- name: "slice"
type: "string"
nullable: false
functions:
- id: "slice_text"
function: "dtcs:substr"
type: "string"
parameters:
- name: "text"
type: "string"
optional: false
- name: "start"
type: "integer"
optional: false
lineage:
mappings:
- output: "out"
inputs: ["in"]