書式 | chop(+$X, -$Y) | ||||||
---|---|---|---|---|---|---|---|
引数 |
| ||||||
Same as 'chop' in Perl |
書式 | split_verbose(+$STR, +$DIV, -$LIST) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
引数 |
| |||||||||
Split $STR into a list of strings $LIST divided by $DIV difference between split_verbose and split is treatment of continuous $DIV |
書式 | join(+$LIST, +$STR, -$STRING) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
引数 |
| |||||||||
Same as 'join' in Perl. | ||||||||||
join(["He", "runs"], "__", "He__runs") |
書式 | concatenate_string(+$X, +$Y, -$Z) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
引数 |
| |||||||||
This lets $Z be the concatination of $X and $Y. |
書式 | concatenate_string(+$L, -$R) | ||||||
---|---|---|---|---|---|---|---|
引数 |
| ||||||
This lets $R be the concatination of all the elements in $L. |
書式 | to_upper(+$STR1, -$STR2) | ||||||
---|---|---|---|---|---|---|---|
引数 |
| ||||||
This predicate converts string with small letters to capital letters. |
書式 | to_lower(+$STR1, -$STR2) | ||||||
---|---|---|---|---|---|---|---|
引数 |
| ||||||
This predicate converts string with capital letters to small letters. |