Καλώς ορίσατε στο
dotNETZone.gr
-
Σύνδεση
|
Εγγραφή
|
Βοήθεια
σε
Τρέχοντες Ετικέτες
(όλο το δικτυακό τόπο)
Αρχική σελίδα
Ιστολόγια
Συζητήσεις
Εκθέσεις Φωτογραφιών
Αρχειοθήκες
Παρουσίαση με Ετικέτες
Όλες οι Ετικέτε...
»
Posts
»
String
»
StartsWith
»
Class
»
ClipFlair
»
StringCompariso...
»
CurrentCulture
»
Extensions
»
EndsWith
(RSS)
.NET
Array
Methods
Prefix
Suffix
.NET String extension methods to check for array of prefixes or suffixes
Seems StartsWith and EndsWith methods of String class in .NET are missing a version that accepts multiple (as an array) prefixes or suffixes respectively when testing the string. To achieve this I just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair ...
Δημοσιεύτηκε στο
George Birbilis' blog
(Weblog)
από το μέλος
birbilis
στις
Απριλίου 5, 2013