FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
string ReplaceEnd
(
const string &
str
,
const string &
expr
,
const string &
repl
)
Definition at line
45
of file
zfits.cc
.
Referenced by
ReplaceExt()
.
46
{
47
string
out(
str
);
48
49
const
size_t
p = out.rfind(expr);
50
if
(p==out.size()-expr.length())
51
out.replace(p, expr.length(), repl);
52
53
return
out;
54
}
str
char str[80]
Definition:
test_client.c:7
Here is the caller graph for this function:
src
zfits.cc
Generated on Sun Sep 18 2016 20:50:42 for FACT++ by
1.8.11