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