comp.lang.ada
 help / color / mirror / Atom feed
From: dhbemis@aol.com (DHBemis)
Subject: Help me parse a long character
Date: 1997/10/25
Date: 1997-10-25T00:00:00+00:00	[thread overview]
Message-ID: <19971025194701.PAA21145@ladder01.news.aol.com> (raw)


This is an easy one I'm sure. I'm in my first semester of programming....

I'm trying to parse a 40-character long string. They are formatted in the
 following way:

LASTNAME^^^^^^^^^^^^^^^^^FIRSTNAME^^^^^^      <--- the variable Full_Name

I'm not sure how to parse it into to two separate variables, first_name and
 Last_name.

I used the get_line procedure to get the string, so I have the last_character
 position. How do I ignore the spaces in between?

Thanks !

Help




             reply	other threads:[~1997-10-25  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-25  0:00 DHBemis [this message]
1997-10-26  0:00 ` Help me parse a long character Tom Moran
1997-10-27  0:00   ` DHBemis
  -- strict thread matches above, loose matches on Subject: below --
1997-11-03  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1997-11-03  0:00 Simon Johnston
1997-11-03  0:00 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox