View previous topic :: View next topic
|
Author |
Message |
scorp_rahul22 Currently Banned New User
Joined: 06 Aug 2007 Posts: 42 Location: chennai
|
|
|
|
how can we parse a particular string, while reading a set of 10 lines. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You need to post some meaningful info if you want some useful suggestion(s).
Show examples of your "input" and how you want the process to operate on the example data. What is a "set of 10 lines"? |
|
Back to top |
|
|
scorp_rahul22 Currently Banned New User
Joined: 06 Aug 2007 Posts: 42 Location: chennai
|
|
|
|
Suppose input is like
==============================
VA2PETL010#ACM_DEALS_DEDUPE_XML
FOLLOWS ACM_DEALS_LOCKOUT_NRT
VA2PETL010#MART_DEALS_XML1
FOLLOWS XML_ACM_CIBR_DEALS_2,
XML_ACM_CIBR_DEALS_3
========================================
and i want output like
ACM_DEALS_DEDUPE_XML ACM_DEALS_LOCKOUT_NRT
MART_DEALS_XML1 ,XML_ACM_CIBR_DEALS_2, XML_ACM_CIBR_DEALS_3 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You need to post the processing "rules". Sometimes the result values have commas, sometimes not. Sometimes the # appears to be a delimiter, sometimes there is no #, but somehow processing continues. What about FOLLOWS?
If there are no rules neither you nor anyone here can make a proper suggestion - in any coding language. |
|
Back to top |
|
|
|