Borland String Functions

Header File

cstring.h

Syntax

class string;

Description

This class uses a technique called "copy-on-write". Multiple instances of a string can refer to the same piece of data so long as it is in a "read only" situation. If a string writes to the data, then a copy is automatically made if more than one string is referring to it.

Constructors

string::string

Data Members

StripType

Public Member Functions

ansi_to_oem
append
assign
compare
contains
copy
c_str
find
find_first_of
find_first_not_of
find_last_of
find_last_not_of
get_at
get_case_sensitiveFlag
get_initial_capacity
get_max_waste
get_paranoid_check
get_resize_increment
get_skipwhitespace_flag
hash
initial_capacity
insert
is_null
length
MaxWaste
oem_to_ansi

prepend
put_at
read_file
read_line
read_string
read_to_delim
read_token
rfind
remove
replace
reserve
resize
resize_increment
set_case_sensitive
set_paranoid_check
skip_whitespace
strip
substr
substring
to_lower
to_upper

Protected Member Functions

assert_element
assert_index
cow
valid_element
valid_index

Operators

=
+=
+=
+
[]
()
==
!=
<
<=
>
>=

Related Global Operators and Functions

>>
<<
+
getline
to_lower
to_upper