Skip to content
Coder Cream
View website Menu
  • Home
  • Lifestyle
  • Fashion
  • Travel
  • Contact
  • Your cart
  • Type your search
0 Menu Close
  • Home
  • Lifestyle
  • Fashion
  • Travel
  • Contact
  • Your cart
  • Type your search
  • Browse Blog
  • Contact Us
  • About Us

Blog

Search for text between brackets or parenthesis in C#

Answer:

string dealSplit = fileTitle.Split(‘[‘, ‘]’)[1];

 

Resources: https://stackoverflow.com/questions/378415/how-do-i-extract-text-that-lies-between-parentheses-round-brackets

You Might Also Like

Throw an Exception in C#

November 22, 2017

How To Serialize An Object To XML

November 18, 2016

How To Determine If A File Exists C#

November 18, 2016
  • About Us
  • Contact Us
  • Blog
© Copyright - OceanWP Theme by Nick
×
×

Cart