Extracting a sub-string in C#
Posted
by hero
on Stack Overflow
See other posts from Stack Overflow
or by hero
Published on 2010-03-12T10:58:35Z
Indexed on
2010/03/12
11:07 UTC
Read the original article
Hit count: 166
c#
I am new to c# programming and I want to ask a question.
How can I get the value in () and store it in another string. example:
I have string
s1="here there (hi)";
How can I get
s2="hi";
the ()
will always be at the end of the sentence (never at first or in between).
© Stack Overflow or respective owner