1,105,225 Community Members

To Upper for ProNouns

Member Avatar
Gus_19
Junior Poster in Training
52 posts since Mar 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Is it possible to have string in a richtextbox checked for pronouns and then make them all upper case? I'm a little familiar with the class method 'ToUpper' but don't know how to go from there. I have a richtextbox on my form and I want to check for any person's names. If there is a name, it has to be all Caps before it's created on the Excel Document

Member Avatar
Reverend Jim
Noli mentula
5,397 posts since Aug 2010
Reputation Points: 746 [?]
Q&As Helped to Solve: 645 [?]
Skill Endorsements: 51 [?]
Moderator
Featured
 
0
 

Do you mean pronouns or do you mean proper nouns. In one case you want words like I, me, he, they, etc. This can be done by using a regular expression to identify the enumerated strings bounded by non-letters. However, if you mean proper nouns then I can't see how that can be done because it is impossible to build a list of all names to look for.

Member Avatar
azareth
Posting Whiz in Training
247 posts since Apr 2012
Reputation Points: 5 [?]
Q&As Helped to Solve: 21 [?]
Skill Endorsements: 0 [?]
 
0
 

you're not clear with your question

Is it possible to have string in a richtextbox checked for pronouns ...
... and I want to check for any person's names

and i agree with Reverend_Jim, there can be tons of names and you'll never know if the name is just made up. Whereas in pronouns you can list them then scan for them in the richtextbox

Member Avatar
Gus_19
Junior Poster in Training
52 posts since Mar 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Proper nouns because if the user types a small dictation in the rich textbox, some users have forgotten to make the proper nouns/names in all caps. i.e. JOHN H DOE. I figured it was a long shot, but wanted to put that question out there and see. thanks guys.

Member Avatar
azareth
Posting Whiz in Training
247 posts since Apr 2012
Reputation Points: 5 [?]
Q&As Helped to Solve: 21 [?]
Skill Endorsements: 0 [?]
 
0
 

Well, if you really want to, you can just include the famous names and the common ones just like in ms word.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article