String Manipulation.
Posted
by Harikrishna
on Stack Overflow
See other posts from Stack Overflow
or by Harikrishna
Published on 2010-05-11T06:01:53Z
Indexed on
2010/05/11
6:14 UTC
Read the original article
Hit count: 343
I will have a different type of string(string will not have fixed format,they will be different every time) from them I want to remove some specific substring.Like the string can be
FUTIDX 26FEB2009 NIFTY 0
FUTSTK ONGC 27 Mar 2008
FUTIDX MINIFTY 30 Jul 2009
FUTIDX NIFTY 27 Aug 2009
NIFTY FUT XP: 29/05/2008
Actuall I want the string from every string defined above like
NIFTY-FEB09
ONGC-MAR08
MINIFTY-JUL09
NIFTY-AUG09
NIFTY-MAY08
How can I do that ?
© Stack Overflow or respective owner