By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,650 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,650 IT Pros & Developers. It's quick & easy.

splitting the line based on the specific character

P: 1
I have a line say
#abcd,19,19 name="efgh" label="ijkl"#mnop,22,28#qrst,23,25 name="uvwx"

i have to split this line based on # but shouldn consider the first # .......the other # should be considered as the child of the first # ..........i have 25 lines like this the split can happen without considering the first one?
Dec 10 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,421
If by first, you mean it will always be the first character, split on the substring.
Dec 10 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.