473,387 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

splitting the line based on the specific character

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 ..how the split can happen without considering the first one?
Dec 10 '12 #1
1 1868
Rabbit
12,516 Expert Mod 8TB
If by first, you mean it will always be the first character, split on the substring.
Dec 10 '12 #2

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

Similar topics

2
by: Frank | last post by:
Hello, I'm a total newbie on Javascript, and with a lot of help and some copy and paste managed to get things running. On my site: http://home.wanadoo.nl/homepage I use a form from Bravenet....
3
by: Chris | last post by:
Hello all. I have a database that I use to send email updates to people. Everything is working fine, but one suggestion I keep getting is to add a link to the automatic emails that will open up the...
8
by: Dong Ge | last post by:
Hi! I am a beginner of C. I want to delete some characters or a whole line in a text file. I have tried the "fprintf", "fputs", "fwrite", but no one of them can run rightly. In the below...
2
by: Paul | last post by:
Hello, Could someone remind me of how to insert a line-feed/return character, please? I have used it before, but I can't recall what it is. What I'm looking for IS NOT an escape character...
1
by: diesel | last post by:
I have an OWC chart that works great Our client has requested that we add a vertical line at a specific point on the chart For example the horizontal axis contains 2,4,6,8 The vertical line...
0
by: supriya | last post by:
Hi all, I have two text boxes( multi line). I added one VSroll Bar to second text box. Based on this scoll value first text box data also scolled. I mean both text should be scrolled according to...
1
by: Montana_Trader | last post by:
I have a product database that includes a memo field for product descriptions. That database must be imported into a legacy system that has four text fields for product descriptions, each with a...
9
by: acatejr | last post by:
I have a text file and each line is a list of values. The values are not delimited, but every four characters is a value. How do I get python to split this kind of data? Thanks.
44
by: shahaba | last post by:
I have a list of texts and I need to find out the number of times each character shows up. Example in the text "76DC4-34" the character '4' shows up twice. Is there a query that for this instance...
2
by: darktemp | last post by:
I have a line of characters that need to be separated. One example is like this: 513413;dialog_513413;Sally Mae has some jobs for you.; Three sets of data all split into three groups placed in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.