May 20, 2008 #1 matrun IS-IT--Management Jan 13, 2004 26 GB Can anyone tell me how to count the number of times a character appears in a string, using jet SQL? Any suggestions welcome! Thanks Matt
Can anyone tell me how to count the number of times a character appears in a string, using jet SQL? Any suggestions welcome! Thanks Matt
May 20, 2008 1 #2 Remou Technical User Sep 30, 2002 13,030 BE An example: [tt]SELECT Len([Forename])-Len(Replace([Forename],"a","")) AS [As], tblT.Forename FROM tblT[/tt] Upvote 0 Downvote
An example: [tt]SELECT Len([Forename])-Len(Replace([Forename],"a","")) AS [As], tblT.Forename FROM tblT[/tt]
May 20, 2008 Thread starter #3 matrun IS-IT--Management Jan 13, 2004 26 GB Thanks! Absolutely what I was after. Thanks again! Matt Upvote 0 Downvote