abstract class $TEXT_STRING{ETP < $IS_EQ, FSTP < $FTEXT_STRING{ETP}, STP < $TEXT_STRING{ETP}}


Ancestors
$BINARY $SEARCH{_,_} $STRINGS $HASH
$IS_EQ $NIL $IS_NIL $TEXT_STRING{_}
$STRING{_} $LISTS{_} $ARR{_} $RO_ARR{_}
$CONTAINER{_} $STR $COPY $FILTERS{_}
$ELT{_} $ELT

Descendants
RUNES STR HEX_STR



Public


Features
build(cursor : BIN_CURSOR,lib : LIBCHARS) : SAME ;
****
__This_routine_builds_the_string_from_the_binary_string_indicated_using
___the_encoding_and_repertoire_defined_by_lib.__If_the_string_indicated_by
___cursor_does_not_contain_an_integral_number_of_character_codes_in_the_given
___repertoire_and_encoding_then_void_is_returned_and_the_cursor_has_not_been
___moved.
capitalize : SAME ;
****
__This_routine_returns_a_copy_of_self_in_which_the_first_character_of
___every_word_(from_the_beginning_of_the_string_or_after_punctuation_or
___a_whitespace)_is_converted_to_its_upper_case_equivalent.
char(index : CARD) : ETP ;
****
__This_routine_returns_the_character_to_be_found_at_the_indicated
___element_of_self,_or_void_if_there_is_no_such_character.
code! : CHAR_CODE ;
****
__This_iter_yields_each_individual_character_encoding_in_self
___in_sequence_using_the_code_specified_repertoire_and_encoding.
code!(once start_code : CARD) : CHAR_CODE ;
****
__This_iter_yields_each_individual_character_encoding_in_self
___in_sequence.
create(code : CHAR_CODE) : SAME ;
****
__This_form_of_creation_is_necessary__for_all_forms_of_text_string_to
___create_a_single_element_string_from_its_character_code.
escape(esc : ETP,elist : STP) : SAME ;
****
__This_routine_returns_a_copy_of_self_in_which_all_characters_occurring
___in_elist_-_and_the_character_esc_itself_-_are_preceded_by_the_escape_character.
is_lower : BOOL ;
****
__This_predicate_returns_true_if_and_only_if_every_character_of_self_is
___lower-case,_otherwise_false.
is_upper : BOOL ;
****
__This_predicate_returns_true_if_and_only_if_every_character_of_self_is
___upper-case,_otherwise_false.
lower : SAME ;
****
__This_routine_returns_a_copy_of_self_in_which_every_upper_case
___character_is_converted_to_its_lower_case_equivalent.
minus(str : STP) : SAME ;
****
__This_routine_returns_a_copy_of_self_with_the_first_(if_any)
___occurrence_of_str_deleted.
minus(str : STP, start : CARD) : SAME ;
****
__This_routine_returns_a_copy_of_self_in_which_the_first_occurrence
___of_str_after_the_given_start_index_(if_any)_is_deleted.
remove(ch : ETP) : SAME ;
****
__This_routine_returns_a_copy_of_self_with_all_occurrences_of_ch_removed.
remove(str : STP) : SAME ;
****
__This_routine_returns_a_copy_of_self_from_which_all_characters
___contained_in_str_have_been_removed.
repeat(cnt : CARD) : SAME ;
****
__This_routine_returns_a_new_string_which_contains_the_contents_of
___self_repeated_cnt_times.
replace(old_ch,new_ch : ETP) : SAME ;
****
__This_routine_returns_a_new_string_which_is_a_copy_of_self_apart_from
___which_each_occurrence_of_old_ch_has_been_replaced_by_new_ch.
replace(set : STP,new_ch : ETP) : SAME ;
****
__This_routine_returns_a_copy_of_self_in_which_all_occurrences_of
___any_character_in_set_are_replaced_by_new_ch.
rev! : ETP ;
****
__This_iter_yields_the_elements_of_self_in_reverse_order.
strip : SAME ;
****
__This_routine_strips_any_number_of_contiguous_line_marks_from_the_end
___of_self_--_if_present_--_returning_the_result.
upper : SAME ;
****
__This_routine_returns_a_copy_of_self_in_which_every_lower_case
___character_is_converted_to_its_upper_case_equivalent.

The Sather Home Page