Borland String Functions

Header File

cstring.h

Syntax

class string;

Description

This is the Standard Template Library basic_string. As with many STL classes there are many functions associated with this class (and all STL classes). We will only use some of the class functions which are listed here. For the most part (after the first few programs we will use the Ansi String - denoted String (as opposed to string). The class String is more extensive than string and is documented in help. Some of the same functions and operators are shared by both classes.

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
insert
is_null
length
MaxWaste
oem_to_ansi

prepend

remove
replace
reserve
resize
resize_increment
set_case_sensitive
set_paranoid_check
skip_whitespace
strip
substr
substring



Member Operators

=
+=
+=
+
[]
()


Related Global Operators and Functions

==
!=
<
<=
>
>=


>>
<<
+
getline