source: git/Tst/Manual/string_operations.tst @ 6fb723

fieker-DuValspielwiese
Last change on this file since 6fb723 was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 177 bytes
Line 
1LIB "tst.lib"; tst_init();
2  string s="abcde";
3  s[2];
4  s[3,2];
5  ">>"+s[1,10]+"<<";
6  s[2]="BC"; s;
7  intvec v=1,3,5;
8  s=s[v]; s;
9  s="654321"; s=s[3..5]; s;
10tst_status(1);$
Note: See TracBrowser for help on using the repository browser.