We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,610 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

To Upper for ProNouns

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

3
Contributors
4
Replies
1 Day
Discussion Span
3 Months Ago
Last Updated
5
Views
Gus_19
Light Poster
48 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 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.

Reverend Jim
Carpe per diem
Moderator
3,587 posts since Aug 2010
Reputation Points: 561
Solved Threads: 445
Skill Endorsements: 32

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

azareth
Posting Whiz in Training
245 posts since Apr 2012
Reputation Points: 5
Solved Threads: 18
Skill Endorsements: 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.

Gus_19
Light Poster
48 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

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

azareth
Posting Whiz in Training
245 posts since Apr 2012
Reputation Points: 5
Solved Threads: 18
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0607 seconds using 2.61MB