Navigation


Milos Solution Platform (External Blog)

The Milos Solution Platform is .NET's premier platform for building business applications. This blog is meant for developers who use or evaluate Milos. This blog is used to share tidbits of information provided by the Milos developers at EPS. Many of the posts put the spotlight on new features. We generally recommend that all Milos users (developers) at least scan this blog to keep up with the Milos news.

Content Area Footer

Friday, October 12, 2007
Minor String-Array Helper Method

This is a pretty small item, but I find it useful in a lot of scenarios: There now is a new ArrayContainsString() method on the StringHelper object. It provides a quick way to check whether a certain string array contains a certain string, and it can do so in a case insensitive fashion:

string[] testArray = new string[] { "One", "Two", "Three" };
bool result1 = StringHelper.ArrayContainsString(testArray, "one", true); // returns true
bool result2 = StringHelper.ArrayContainsString(testArray, "one");       // returns false
bool result3 = StringHelper.ArrayContainsString(testArray, "One");       // returns true
bool result4 = StringHelper.ArrayContainsString(testArray, "Four");      // returns false

As I said, this is not an earth-shaking feature, but it is kinda nifty...



Posted @ 2:26 PM by Egger, Markus (markus@code-magazine.com) -
Comments (13)




Comments:

RE: Minor String-Array Helper Method
Friday, June 24, 2011 12:54 PM by vestidos de novia - 84576878@qq.com

Reducing Kinks in Sterling Silver Jewelry
When storing genuine silver chains, especially those 2mm delicate ones that are so popular right now, take a page from how manufacturing companies horde and send their chains. Bulk sequence is stored on reels


RE: Minor String-Array Helper Method
Wednesday, June 29, 2011 7:27 PM by vibram 5 fingers - cai297472630@126.com

Great job on the blog, it looks great. I am going to save it and will make sure to visit weekly


Great
Tuesday, July 05, 2011 9:20 PM by insanity workout - 1421360297@qq.com

Great beat ! I would like to apprentice while you amend your web site, how can i subscribe for a blog website? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear idea


RE: Minor String-Array Helper Method
Saturday, September 24, 2011 1:33 AM by Android developers - suchismita.pnda1989@gmail.com

Array is a sequence number of data storing in a particular memory location..From here I came to know how we can declare string variable in array..


RE: Minor String-Array Helper Method
Friday, April 28, 2017 10:54 AM by assignment help - IrenePrater57@gmail.com

Thanks a lot, Egger, Markus for sharing this C# code for us. It can be really helpful for those students who are learning a programming language and having difficulties while working on Array. Actually, I am also learning programming code the most difficult chapter was Array. I came here accidently and read this post and found it helpful. This is the best assignment help for the students I will recommend you to please share more useful resources for us which can help us in learning the programming concept.


RE: Minor String-Array Helper Method
Tuesday, May 09, 2017 3:22 AM by easy followers free - pilmavus@sezet.com

Great news.


RE: Minor String-Array Helper Method
Thursday, May 18, 2017 5:13 AM by affordable SEO company - elizamolly1@gmail.com

This is the best undertaking help for the understudies I will recommend you to please share more advantageous resources for us which can help us in taking in the programming thought.


RE: Minor String-Array Helper Method
Wednesday, October 11, 2017 12:20 AM by college essay - rosesandra642@gmail.com

Our professional and highly qualified writers can complete all your write my assignment requests. Get quality custom essay writing for a reasonable price!


RE: Minor String-Array Helper Method
Wednesday, December 20, 2017 1:13 AM by research paper editing - alvinaash873@gmail.com

Much appreciated, Egger, Markus for sharing this C# code for us. It can be extremely useful for those understudies who are taking in a programming dialect and experiencing issues while taking a shot at Exhibit. As a matter of fact, I am additionally getting the hang of programming code the most troublesome section was Exhibit. I came here accidently and read this post and thought that it was useful. This is the best task help for the understudies I will prescribe you to please share more valuable assets for us which can help us in taking in the programming idea.


RE: Minor String-Array Helper Method
Monday, May 28, 2018 5:07 AM by Sky Potential - skypotentialltd@gmail.com

We are dedicated to create your brand, grow your business, create success for our clients by providing versatile digital solutions, custom software, and internet marketing strategy.


RE: Minor String-Array Helper Method
Saturday, June 09, 2018 4:48 AM by Taco Time Menu - taco21@gmail.com

The prices aren’t too high for the service and food they offer and is quite cheap as compared to the other fast food chains and restaurants in the country. Taco Time is no doubt providing fresh, good quality and delicious Mexican food in low prices


RE: Minor String-Array Helper Method
Saturday, June 09, 2018 4:49 AM by DanMachi Season 2 - danmachi23@gmail.com

a mage trained by Riveria. Lefiya, another new character, will stand by Aiz’s side without holding back in the DanMachi Season 2.


RE: Minor String-Array Helper Method
Tuesday, July 17, 2018 12:21 AM by review online - alvinaash873@gmail.com

Ignite Review, chic and sophisticated dresses are perfect for all occasions. Dresses to take from office to evening in soft silhouettes with a hint of elegance.




Post a Comment:

Comment Title (required)

Your Name (optional)

Your Email (optional)

Your Web Site (optional)

Your Comment (required)

 

 

 

 

 

 

 

Syndication RSS 2.0 RSS 2.0

All My Blogs:
My personal blogs:
Dev and Publishing Dev and Publishing
Travel and Internat. Living Travel and Internat. Living
Other blogs I contribute to:
Milos Blog (US) Milos Blog (US)
VFPConv. Dev Blog (US) VFPConv. Dev Blog (US)
VFPConv. Dev Blog (DE) VFPConv. Dev Blog (DE)

 

Blog Archives
All Blog Posts

2010
    November (1)
2009
    July (2)
    February (2)
    January (1)
2008
    December (1)
    October (3)
    June (1)
    April (3)
    February (1)
    January (1)
2007
    December (1)
    October (2)
    September (2)
    July (1)
    June (2)
    May (4)
    April (6)
    March (8)
    February (3)
    January (2)
2006
    December (2)
    November (2)

 

 

 

This Blog is powered by MilosTM Collaboration Components.