Subversion Repositories wimsdev

Rev

Rev 9148 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8819 bpr 1
text1=toto tata,tutu\
2
titi tyty, tttt\
3
zzz ttt
8810 bpr 4
 
8819 bpr 5
text2=[aa,b],cc,dd
6
text3={aa,b},cc,dd
8810 bpr 7
accent=éteadafd
8
 
8819 bpr 9
list1=toto,tata,tutu, titi
10
list2=toto,tata\
11
tutu\
12
titi
8810 bpr 13
 
8819 bpr 14
list3=45;89
15
line=!line 2 of $text1
16
item=!item 1 of $text1
17
word1=!word 2 of $text1
18
word2=!word 5 of $text1
8810 bpr 19
accent1=!char 1 of $accent
20
accent2=!char 1 to 5 of $accent
8819 bpr 21
accent3=!deaccent éaeùî
8827 bpr 22
accent4=!reaccent de'ae`u'i^u^E'a'
23
 
8819 bpr 24
parent1=!item 2 of $text2
25
parent2=!item 1 of $text3
26
 
27
position1=!positionof item toto in $list1
28
position2=!positionof char o in $list1
29
position3=!positionof word titi in $list1
30
position4=!positionof line titi in $list2
31
 
32
detag1=!detag <a>aaa</a> <div><p> essai </p></div>,
33
 
34
select1=!select $text1 where toto isin column 1
35
select2=!select $text1 where column 2=tttt
36
 
37
getopt1=!getopt a in a=aaa b=ccc
38
getopt2=!getopt b in a=aaa b=ccc
39
getopt3=!getopt a in a=(aaa bbb) dddd b=ccc
40
getopt4=!getopt a in a={aaa bbb} dddd b=ccc
41
getopt5=!getopt a in a="aaa bbb" dddd b=ccc
42
getopt6=!getopt a in a=[aaa bbb] dddd b=ccc
43
 
44
nonempty1=!nonempty items aa,,bb
45
nonempty2=!nonempty lines aa,\
46
\
47
,bb
48
 
49
nonempty3=!nonempty rows aa,;;bb
50
 
51
declosing1=!declosing [aa,bbb]
52
declosing2=!declosing {aa,bbb}
53
declosing3=!declosing (aa,bbb)
54
 
55
testline1=!items2lines $list1
56
testline2=!items2words $list1
57
testline3=!lines2items $list2
58
testline4=!lines2words $list2
59
testline5=!words2lines $list1
60
testline6=!words2items $list1
61
testline7=!lines2rows $list2
62
testline8=!rows2lines $list3
9148 bpr 63
 
10181 bpr 64
vartest=$line\
9148 bpr 65
$item\
66
$word1\
67
$word2\
68
$accent1\
69
$accent2\
70
$accent3\
71
$accent4\
72
$parent1\
73
$parent2\
74
$position1\
75
$position2\
76
$position3\
77
$position4\
78
$detag1\
79
$select1\
80
$select2\
81
$getopt1\
82
$getopt2\
83
$getopt3\
84
$getopt4\
85
$getopt5\
86
$getopt6\
87
$nonempty1\
88
$nonempty2\
89
$nonempty3\
90
$declosing1\
91
$declosing2\
92
$declosing3\
93
$testline1\
94
$testline2\
95
$testline3\
96
$testline4\
97
$testline5\
98
$testline6\
99
$testline\
100
$testline8