Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Trimming off Mr & Mrs.

Discussion in 'Information Technology' started by CMcGrann, Jul 28, 2006.

Tags:
  1. CMcGrann

    CMcGrann
    Expand Collapse
    Guest

    I have a name field that in some cases includes the name title for example
    Mrs. Carol... or Mr. Thomas... I want to trim off the Mr. and Mrs. This
    heading in not in all fields. I want only to see first and last name only.

    Thanks for any help you can give!
     
  2. Loading...

    Similar Threads Forum Date
    Can someone answer my question? (Trimming Beard) New to Sikhism Oct 15, 2012
    Sikh News Players thrown out of meet for trimming hair Breaking News Nov 24, 2004
    Getting Something Off Your Chest Always Makes You Feel Better Hard Talk May 15, 2016
    Sikh News Judge Says Army Can’t Require Special Testing Of Sikh Officer Breaking News Mar 5, 2016
    Cholesterol Is Finally Officially Removed From "naughty List" Health & Nutrition Feb 11, 2016

  3. Tony Williams

    Tony Williams
    Expand Collapse
    Guest

    I would create 3 fields title, first name and surname then you can
    concatenate them in any way you want
    Tony
    "CMcGrann" <CMcGrann@discussions.microsoft.com> wrote in message
    news:948987DB-F4DB-4558-AA4E-8DD1B63DFEAE@microsoft.com...
    >I have a name field that in some cases includes the name title for example
    > Mrs. Carol... or Mr. Thomas... I want to trim off the Mr. and Mrs. This
    > heading in not in all fields. I want only to see first and last name
    > only.
    >
    > Thanks for any help you can give!
     
  4. fredg

    fredg
    Expand Collapse
    Guest

    On Tue, 16 May 2006 07:45:02 -0700, CMcGrann wrote:

    > I have a name field that in some cases includes the name title for example
    > Mrs. Carol... or Mr. Thomas... I want to trim off the Mr. and Mrs. This
    > heading in not in all fields. I want only to see first and last name only.
    >
    > Thanks for any help you can give!


    In a query:
    Exp: Replace(Replace(Replace([CombinedNames],"Mr. and Mrs. ",""),"Mrs.
    ",""),"Mr. ","")
    --
    Fred
    Please respond only to this newsgroup.
    I do not reply to personal e-mail
     
  5. Ofer Cohen

    Ofer Cohen
    Expand Collapse
    Guest

    You can use the replace function in a Query

    MyName: Replace(Replace([FieldName],"Mr. ",""),"Mrs. ","")

    --
    Good Luck
    BS"D


    "CMcGrann" wrote:

    > I have a name field that in some cases includes the name title for example
    > Mrs. Carol... or Mr. Thomas... I want to trim off the Mr. and Mrs. This
    > heading in not in all fields. I want only to see first and last name only.
    >
    > Thanks for any help you can give!
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page