19 lines
317 B
Plaintext
19 lines
317 B
Plaintext
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();
|