File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -31,22 +31,23 @@ splits a string at the given delimiter
31
31
Splits a string at every character
32
32
33
33
``` eve
34
- match
34
+ search
35
35
(token, index) = split[text: "hello, world", by: ""]
36
- bind
37
- [#div text: token]
38
- [#div text: index]
36
+
37
+ bind @browser
38
+ [#div text: "{{token}} {{ index}}" ]
39
39
```
40
40
41
41
Split a sentence into words and display them in order
42
42
43
43
``` eve
44
- match
44
+ search
45
45
(token, index) = split[text: "the quick brown fox", by: " "]
46
- bind
46
+
47
+ bind @browser
47
48
[#div sort: index, text: token]
48
49
```
49
50
50
51
## See Also
51
52
52
- [ concat] ( ../concat ) | [ join] ( ../join ) | [ char-at] ( ../char-at ) | [ find] ( ../find ) | [ length] ( ../length ) | [ replace] ( ../replace )
53
+ [ concat] ( ../concat ) | [ join] ( ../join ) | [ char-at] ( ../char-at ) | [ find] ( ../find ) | [ length] ( ../length ) | [ replace] ( ../replace )
You can’t perform that action at this time.
0 commit comments