mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
Corrected more words.
This commit is contained in:
@@ -388,7 +388,7 @@ S translate(const S& str, const typename S::value_type* from, const typename S::
|
||||
|
||||
template <class S>
|
||||
S& translateInPlace(S& str, const S& from, const S& to)
|
||||
/// Replaces in str all occurences of characters in from
|
||||
/// Replaces in str all occurrences of characters in from
|
||||
/// with the corresponding (by position) characters in to.
|
||||
/// If there is no corresponding character, the character
|
||||
/// is removed.
|
||||
@@ -491,7 +491,7 @@ S& removeInPlace(S& str, const typename S::value_type ch, typename S::size_type
|
||||
|
||||
template <class S>
|
||||
S replace(const S& str, const S& from, const S& to, typename S::size_type start = 0)
|
||||
/// Replace all occurences of from (which must not be the empty string)
|
||||
/// Replace all occurrences of from (which must not be the empty string)
|
||||
/// in str with to, starting at position start.
|
||||
{
|
||||
S result(str);
|
||||
|
||||
Reference in New Issue
Block a user