+ Reply to Thread
Results 1 to 2 of 2

Remove specified value from string

  1. #1
    Todd Huttenstine
    Guest

    Remove specified value from string

    Hey

    I have the following value:
    "7D: Test Note"

    I would like to remove the "7D: " from the above string.
    How do I do this?


    Thanks
    Todd


  2. #2
    Toppers
    Guest

    RE: Remove specified value from string

    Todd,
    With string in A1 put this in (say) b1:

    =SUBSTITUTE(A1,"7D:","",1)

    Or in VBA, use REPLACE function

    newstring=Replace(Range("A1"),"7D:","")

    Range("a1") could be replaced by string variable.

    HTH

    "Todd Huttenstine" wrote:

    > Hey
    >
    > I have the following value:
    > "7D: Test Note"
    >
    > I would like to remove the "7D: " from the above string.
    > How do I do this?
    >
    >
    > Thanks
    > Todd
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1