TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Violeta Popa
NA
137
163.7k
string - case insensitive
Apr 10 2013 4:08 PM
Hello :) I want to check is a text starts with "RO". I have this code:
if (cod.StartsWith("RO") || cod.StartsWith("ro")||cod.StartsWith("Ro")cod.StartsWith("rO"))
Is there a way to mention "RO" to be case insensitive to avoid the cod to be too long?
Reply
Answers (
1
)
Automated testing to check a webpage on a site is displayed?
Deleting multiple row by selecting checkbox on Data Gridview