Re: Replace First Occurrance of a substring

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: One Handed Man \( OHM - Terry Burns \) ("One)
Date: 09/27/04


Date: Mon, 27 Sep 2004 13:33:23 +0100

Use a Regex expression

-- 
OHM ( Terry Burns )
 . . .  One-Handed-Man . . .
If U Need My Email ,Ask Me
Time flies when you don't know what you're doing
"Wasim Akram" <a@b.c> wrote in message
news:OWQhi2IpEHA.1136@TK2MSFTNGP12.phx.gbl...
> Hi all,
>
> String.Replace replaces all occurrances of a substring in a given string .
>
> Can anyone guide me how can I replace first occurrance of a substring in a
> given string.
>
> -
> wa
>
>


Relevant Pages

  • Replace First Occurrance of a substring
    ... String.Replace replaces all occurrances of a substring in a given string. ... Can anyone guide me how can I replace first occurrance of a substring in a ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Replace First Occurrance of a substring
    ... Public Shared Function ReplaceFirst(ByVal expression As String, ... > String.Replace replaces all occurrances of a substring in a given string. ... > Can anyone guide me how can I replace first occurrance of a substring in a ...
    (microsoft.public.dotnet.languages.vb)
  • Re: [QUIZ] Longest Repeated Substring (#153)
    ... My hack at the substring problem is based on suffix ... in the original string. ... def initialize ...
    (comp.lang.ruby)
  • Favicon type detection - possible?
    ... this is my cobbled together browser detection ... {string: navigator.userAgent, ... subString: "OmniWeb", ... {// for newer Netscapes ...
    (comp.lang.javascript)
  • Comments on Comments (was Re: Getting to 100 (#119))
    ... # yield each partitioning of the receiver into count partitions ... # an initial substring of increasing length, ... # the string into count-1 partitions. ... #:ops - an array of strings representing the operators to be inserted into ...
    (comp.lang.ruby)