Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
18
Task/Substring/Aime/substring.aime
Normal file
18
Task/Substring/Aime/substring.aime
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
text s;
|
||||
data b, d;
|
||||
|
||||
s = "The quick brown fox jumps over the lazy dog.";
|
||||
|
||||
o_text(cut(s, 4, 15));
|
||||
o_newline();
|
||||
o_text(cut(s, 4, length(s)));
|
||||
o_newline();
|
||||
o_text(delete(s, -1));
|
||||
o_newline();
|
||||
o_text(cut(s, index(s, 'q'), 5));
|
||||
o_newline();
|
||||
|
||||
b_cast(b, s);
|
||||
b_cast(d, "brown");
|
||||
o_text(cut(s, b_find(b, d), 15));
|
||||
o_newline();
|
||||
Loading…
Add table
Add a link
Reference in a new issue