About 993,000 results
Open links in new tab
  1. Replace multiple characters in one replace call - Stack Overflow

    160 If you want to replace multiple characters you can call the String.prototype.replace() with the replacement argument being a function that gets called for each match. All you need is an …

  2. How to replace all occurrences of a character in string?

    What is the effective way to replace all occurrences of a character with another character in std::string?

  3. How can I replace every occurrence of a String in a file with ...

    Using PowerShell, I want to replace all exact occurrences of [MYID] in a given file with MyValue. What is the easiest way to do so?

  4. Replacing blank values (white space) with NaN in pandas

    I want to find all values in a Pandas dataframe that contain whitespace (any arbitrary amount) and replace those values with NaNs. Any ideas how this can be improved? Basically I want to turn …

  5. How do I replace all occurrences of a string? - Stack Overflow

    When replacing all occurrences of aba in ababa with ca, which result do you expect? caba? abca? cca?

  6. Multiple REPLACE function in Oracle - Stack Overflow

    The accepted answer to how to replace multiple strings together in Oracle suggests using nested REPLACE statements, and I don't think there is a better way. If you are going to make heavy …

  7. Replace part of a string with another string - Stack Overflow

    There's a function to find a substring within a string (find), and a function to replace a particular range in a string with another string (replace), so you can combine those to get the effect you …

  8. How to search and replace text in a file - Stack Overflow

    As pointed out by michaelb958, you cannot replace in place with data of a different length because this will put the rest of the sections out of place. I disagree with the other posters …

  9. How to replace multiple substrings of a string? - Stack Overflow

    After some benchmarking on using replace several times vs regex replacement on a string of increasing length by power of 2 with 100 replacements added, it seems that on my computer …

  10. Replace single quotes in SQL Server - Stack Overflow

    However, ordinarily you'd replace ' with '' and this will make SQL Server happy when querying the database. The trick with any of the built-in SQL functions (like replace) is that they too require …