What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 34596 |  Welcome, Guest!   Register  Login
 Home > Forums > C# > How to compare alphanumeric value in c#? ...
Gudevg

How to compare alphanumeric value in c#?

Replies: 1 | Posted by: Gudevg on 4/26/2012 | Category: C# Forums | Views: 351 | Status: [Member] | Points: 10  


Good Morning,

I develop a code to get numbers as input from word file and compare it with the contents. It works properly

Here is the code with conditions

strFilterWord = 

strWord.Replace ("(", string.Empty).Replace(')', ' ').Replace('.', ' ').Replace(';', ' ').
Replace(':', ' ').Trim();if (strFilterWord.Length == 4)
if (Convert.ToInt32(strFilterWord) > 1900
&& Convert.ToInt32(strFilterWord) < 2012)


Note:
1) For the above code i use the condition: Input value is occur in four digits and it is between 1900 to 2012. (Year)
2) In a paragraph the year information is occur only once.


Similarly i need to compare the alphanumeric value [Ex: 2012a].


Regards,

Deepakkumar G.


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Gudevg
Gudevg  
Posted on: 4/26/2012 3:04:20 AM
Level: Starter | Status: [Member] | Points: 25

Any update regarding this?

Deepakkumar G.

Gudevg, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 4:29:04 AM