Mina

Mina

  • NA
  • 1
  • 0

replace first occurance

Jun 24 2007 10:41 PM
im trying to find a way in c# to replace first occurance of a regular expression in a string.

so if string = " found 1 found 2 found 3"

i want to do something like :

string = replacefirst("found","")

to give results:

string = " 1 found 2 found 3"

thanx



Answers (1)