• forme, a CTE that pulls out the charindexes makes it easier for me to understand.

    With tblDoc([FROM])

    AS

    (

    SELECT 'John Doe1 <John.Doe1@abcd.com>' UNION ALL

    SELECT 'John Doe2 <John.Doe2@abcd.com>' UNION ALL

    SELECT 'John Doe3 <John.Doe3@abcd.com>' UNION ALL

    SELECT 'Lowell Mumble Mumble <Lowell@somedomain.com>'

    ),

    tblDoc2

    As

    (

    SELECT

    CHARINDEX('<', [From]) As LeftBracket,

    CHARINDEX('>', [From]) As RightBracket,

    [FROM]

    FROM tblDoc

    )

    SELECT SUBSTRING([From],LeftBracket +1,RightBracket - (LeftBracket +1)),*

    FROM tblDoc2

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!