1Function: strexpand
2Section: programming/specific
3C-Name: strexpand
4Prototype: s*
5Help: strexpand({x}*): concatenates its (string) arguments into a single
6 string, performing tilde expansion.
7Doc:
8 converts its argument list into a
9 single character string (type \typ{STR}, the empty string if $x$ is omitted).
10 Then perform \idx{environment expansion}, see \secref{se:envir}.
11 This feature can be used to read \idx{environment variable} values.
12 \bprog
13 ? strexpand("$HOME/doc")
14 %1 = "/home/pari/doc"
15
16 ? module = "aprcl"; n = 10;
17 ? strexpand("$HOME/doc/", module, n, ".tex")
18 %3 = "/home/pari/doc/aprcl10.tex"
19 @eprog
20
21 The individual arguments are read in string context, see \secref{se:strings}.
22 %\syn{NO}
23
24Function: Strexpand
25Section: programming/specific
26C-Name: strexpand
27Prototype: s*
28Obsolete: 2018-10-01
29Help: Strexpand({x}*): deprecated alias for strexpand
30Doc: deprecated alias for strexpand
31