Top "Replace" questions

Replacing is the action of searching a string for a sub-string and replacing it with a different string.

Replace certain string in array of strings

let's say I have this string array in java String[] test = {"hahaha lol", "jeng jeng jeng", "stack overflow"}; but now …

java arrays string replace replaceall
Replace NA in column with value in adjacent column

This question is related to a post with a similar title (replace NA in an R vector with adjacent values). …

r replace missing-data na
C# - Replace a character with nothing

I have a RichTextBox that looks like this: TEXT NEXT_TEXT 10.505 -174.994 0 TEXT NEXT_TEXT 100.005 174.994 90 TEXT NEXT_TEXT -10.000 -5.555 180 …

c# replace richtextbox
Replace <NA> in a factor column

I want to replace <NA> values in a factors column with a valid value. But I can not …

r dataframe replace na
vim does not find and replace simple phrase that is clearly present

I have a simple vim problem that Google hasn't managed to help me with. Any thoughts are appreciated. I do …

vim replace scope-resolution
in R, use gsub to remove all punctuation except period

I am new to R so I hope you can help me. I want to use gsub to remove all …

r regex replace gsub
Replace substring of NSAttributedString with another NSAttributedString

I want to replace a substring (e.g. @"replace") of an NSAttributedString with another NSAttributedString. I am looking for an …

string cocoa replace nsattributedstring foundation
Visual Studio Clicking Find Results Opens Code in Wrong Window

I'm using Visual Studio 2010 and when I do a "Find in Files" the results are returned to the "Find Results 1" …

visual-studio-2010 visual-studio visual-studio-2012 find replace
Replacing quotation marks in Javascript?

For a web app I'm making, I'm going to be getting text strings coming in, occasionally which contain quotation marks. …

javascript replace quotation-marks
Convert spaces to dash and lowercase with PHP

I've tried a few long methods but I think I'm doing something wrong. Here is my code <?php print …

php string replace converters