Split string by size with Regex

Here is an example about splitting string by size by help of Regex. Regular expression is a “search pattern” which is used for “find”, “replace” etc. operations. Matched patterns are eliminated by help of Language-Integrated Query (LINQ).

Read More
Regex

Check list contains the values of another list

Here is an example about using a list as a filter for another list. Following example returns the items of list that occurs in the filter list by help of Language-Integrated Query (LINQ).

Read More
LINQ

Split string by non-alpha-numeric values with Regex

Here is an example about splitting string by non-alpha-numeric values by Regex. Regular expression is a “search pattern” which is used for “find”, “replace” etc. operations. Matched patterns are eliminated by help of Language-Integrated Query (LINQ).

Read More
Regex

Split string by alpha-numeric values with Regex

Here is an example about splitting string by alpha-numeric values by Regex. Regular expression is a “search pattern” which is used for “find”, “replace” etc. operations. Matched patterns are eliminated by help of Language-Integrated Query (LINQ).

Read More
Regex

Split string by non-numeric values with Regex

Here is an example about splitting string by non-numeric values by Regex. Regular expression is a “search pattern” which is used for “find”, “replace” etc. operations. Matched patterns are eliminated by help of Language-Integrated Query (LINQ).

Read More
Regex

Split string by number values with Regex

Here is an example about splitting string by numeric values by Regex. Regular expression is a “search pattern” which is used for “find”, “replace” etc. operations. Matched patterns are eliminated by help of Language-Integrated Query (LINQ).

Read More
Regex

Get All Indexes of an Item in an Array

Here is an example about finding all indexes of an item in an array. Enumarable.Range(0,length) provides us to loop 0 to length. We just compare the index numbers of items with our string (“BMW”) in that loop. This returns all index numbers of specified string in this array.

Read More
LINQ