範例
Expand a-f as an explicit alphabet
Expand a-f as an explicit alphabet. The input is a small public learning fixture; it contains no private production data.
輸入
a-fExpected answer
abcdef- 分隔符
(empty)
Expand 0-9 as an explicit alphabet
Expand 0-9 as an explicit alphabet. The input is a small public learning fixture; it contains no private production data.
輸入
0-9Expected answer
0123456789- 分隔符
(empty)
Expand A-F0-9 as an explicit alphabet
Expand A-F0-9 as an explicit alphabet. The input is a small public learning fixture; it contains no private production data.
輸入
A-F0-9Expected answer
ABCDEF0123456789- 分隔符
(empty)
Expand a-cx-z as an explicit alphabet
Expand a-cx-z as an explicit alphabet. The input is a small public learning fixture; it contains no private production data.
輸入
a-cx-zExpected answer
abcxyz- 分隔符
(empty)
Expand 1-5 as an explicit alphabet
Expand 1-5 as an explicit alphabet. The input is a small public learning fixture; it contains no private production data.
輸入
1-5Expected answer
12345- 分隔符
(empty)
参數
| 参數 | 默認值 | 輸入與選項 |
|---|---|---|
| 分隔符 | "" | 支持 \n、\r 和 \t 等跳脫序列 |