From ed5173863799378c699da426c4cd41348d0bcbf8 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Sun, 29 Dec 2013 03:02:05 -0800 Subject: adding libraries to the repo --- libraries/word-sentence.xml | 1 + 1 file changed, 1 insertion(+) create mode 100644 libraries/word-sentence.xml (limited to 'libraries/word-sentence.xml') diff --git a/libraries/word-sentence.xml b/libraries/word-sentence.xml new file mode 100644 index 0000000..ff2a1a7 --- /dev/null +++ b/libraries/word-sentence.xml @@ -0,0 +1 @@ +Takes a text string as input, and reports a new text string containing all but the first character of the input.
resulti2
Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing all but the first word, with one space between words and no spaces at the beginning or end. (Note: consider using SENTENCE->LIST and processing the resulting list instead of doing recursion on sentences in text string form. List operations are faster.)
Takes a text string as input, and reports a new text string containing all but the last letter of the input.
resulti1
Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing all but the last word, with one space between words and no spaces at the beginning or end. (Note: consider using SENTENCE->LIST and processing the resulting list instead of doing recursion on sentences in text string form. List operations are faster.)
1 1 11 1
Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing only the first word, with no spaces before or after it.
Takes a text string as input, and reports the last character in the string.
Takes a text string as input, divides it into words treating one or more spaces as a word separator (only spaces count; punctuation is part of the word) and reports a text string containing only the last word of the input, with no spaces before or after it.
1 1
Takes a text string as input, and reports TRUE if the string has no characters in it of any kind, otherwise false.
Takes a text string as input, and reports TRUE if the input contains no characters other than spaces (therefore, no words when the string is considered as a sentence), otherwise FALSE.
Takes a text string as input, and reports a list in which each item is a single character from the string.
\ No newline at end of file -- cgit v1.3.1