F
Franken Sense
How do I write a get_script() for data that look like these:
44:004:037 Having land, sold it, and brought the money, and laid it at
the apostles' feet.
44:005:001 But a certain man named Ananias, with Sapphira his wife, sold
a possession,
44:005:002 And kept back part of the price, his wife also being privy to
it, and brought a certain part, and laid it at the apostles'
feet.
I don't just want a line, so I can't read until '\n'. If I took it in a
char at a time, how do I write the control so that it stops when I get to a
string of ten digits or colons?
Thanks for your comment.
44:004:037 Having land, sold it, and brought the money, and laid it at
the apostles' feet.
44:005:001 But a certain man named Ananias, with Sapphira his wife, sold
a possession,
44:005:002 And kept back part of the price, his wife also being privy to
it, and brought a certain part, and laid it at the apostles'
feet.
I don't just want a line, so I can't read until '\n'. If I took it in a
char at a time, how do I write the control so that it stops when I get to a
string of ten digits or colons?
Thanks for your comment.