summaryrefslogtreecommitdiff
path: root/src/s_tool.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
commitd34015c5ba231b95de20e9fcd7a33c5b2b9a1006 (patch)
treeceac33bd27e3b1158a0ac4e17f7fd7e5e6473fea /src/s_tool.cpp
parentc507ce3198ea4d822832cc8740f0128df8873c02 (diff)
tagging ychat-0.5.3ychat-0.5.3
Diffstat (limited to 'src/s_tool.cpp')
-rw-r--r--src/s_tool.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/s_tool.cpp b/src/s_tool.cpp
index dba93dc..79c3924 100644
--- a/src/s_tool.cpp
+++ b/src/s_tool.cpp
@@ -116,24 +116,7 @@ s_tool::strip_html( string *s_str )
return;
}
-}
-string
-s_tool::replace( string s_string, string s_search, string s_replace )
-{
- unsigned i_pos[2];
- for ( i_pos[0] = s_string.find( s_search );
- i_pos[0] != string::npos;
- i_pos[0] = s_string.find( s_search, i_pos[1] ) )
- {
- s_string.replace( i_pos[0], s_search.length(), s_replace );
- i_pos[1] = i_pos[0] + s_replace.length();
- }
-
- return s_string;
}
-
-
-
#endif