The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
basic_string.replace
core
stdcpp
string
basic_string
basic_string
replace
(size_type pos, size_type len, basic_string str)
basic_string
replace
(size_type pos, size_type len, basic_string str, size_type subpos, size_type sublen)
basic_string
replace
(size_type pos, size_type len, const(value_type)[] s)
basic_string
replace
(S pos, size_type len, const(value_type)* s)
basic_string
replace
(size_type pos, size_type len, const(T)* s, size_type slen)
basic_string
replace
(size_type _Off, size_type _N0, size_type _Count, T _Ch)
basic_string
replace
(size_type __pos, size_type __n1, const(T)* __s, size_type __n2)
struct
basic_string
(T, Traits = char_traits!T, Alloc = allocator!T)
version(!CppRuntime_Microsoft && CppRuntime_Gcc && _GLIBCXX_USE_CXX98_ABI)
extern (
D
) @
nogc
ref
basic_string
replace
(
size_type
__pos
,
size_type
__n1
,
const
(
T
)*
__s
,
size_type
__n2
)
basic_string
replace
(size_type pos, size_type n1, size_type n2, T c)
basic_string
replace
(size_type pos, size_type n1, const(T)* s, size_type n2)
basic_string
replace
(size_type pos, size_type n1, size_type n2, T c)
basic_string
replace
(size_type __pos, size_type __n1, const(T)* __s, size_type __n2)
basic_string
replace
(size_type __pos, size_type __n1, size_type __n2, value_type __c)
Meta
Source
See Implementation
core
stdcpp
string
basic_string
aliases
allocator_type
const_pointer
difference_type
length
opDollar
pointer
size_type
toString
traits_type
value_type
constructors
this
destructors
~this
functions
append
as_array
assign
at
back
c_str
capacity
clear
data
empty
erase
front
get_allocator
insert
max_size
opAssign
opCmp
opEquals
opIndex
opIndexAssign
opIndexOpAssign
opOpAssign
opSlice
pop_back
push_back
replace
reserve
resize
shrink_to_fit
size
swap
toHash
postblits
this(this)
variables
npos