Module lillib:strings

String manipulating routines

Version

April 07, 1999

Since

July 09, 1998

Author


Contents

Predicate


Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

Predicate

chop/2

Formatchop(+$X, -$Y)
Arguments
+$Xstring
-$Ystring
Same as 'chop' in Perl

split_verbose/3

Formatsplit_verbose(+$STR, +$DIV, -$LIST)
Arguments
+$STRstring string to be splitted
+$DIVinteger or stringcharacter code or string
-$LISTlist of strings splitted strings
Split $STR into a list of strings $LIST divided by $DIV difference between split_verbose and split is treatment of continuous $DIV

join/3

Formatjoin(+$LIST, +$STR, -$STRING)
Arguments
+$LISTlist of strings
+$STRstring
-$STRINGstring
Same as 'join' in Perl.
 join(["He", "runs"], "__", "He__runs")

concatenate_string/3

Formatconcatenate_string(+$X, +$Y, -$Z)
Arguments
+$Xstring
+$Ystring
-$Zstring
This lets $Z be the concatination of $X and $Y.

concatenate_string/2

Formatconcatenate_string(+$L, -$R)
Arguments
+$Llist of string
-$Rstring
This lets $R be the concatination of all the elements in $L.

to_upper/2

Formatto_upper(+$STR1, -$STR2)
Arguments
+$STR1string string with small letters
-$STR2string capital letters
This predicate converts string with small letters to capital letters.

to_lower/2

Formatto_lower(+$STR1, -$STR2)
Arguments
+$STR1string string with capital letters
-$STR2string small letters
This predicate converts string with capital letters to small letters.

Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

Send comments to:
MITSUISHI Yutaka (mitsuisi@is.s.u-tokyo.ac.jp)

This document is automatically created by lildoc on Fri Sep 24 14:13:58 2004