[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: un-stringing?? -Reply



Cool....I am using Peoplesoft, so maybe the sqc is the way to go. The array
way sounds like a major pain!!

Thanks

Timm


On Wednesday, June 23, 1999 4:27 PM, David Anderson
[SMTP:DANDERS1@SMTPGW.IS.HFH.EDU] wrote:
> There may be a couple of ways (can you tell I'm a
> contractor?):
>
> First, if you are using PeopleSoft, they have created some
> nifty SQCs called rotnameX that parse out the info.
>
> Second, you can create a small array (20 elements) and
> simply move through the variable char by char.  When you
> find a space you write the data to the array, reset your temp
> variable, and continue moving through the source variable.
>
> Third, you could unstring the source variable by ' ' into several
> other variables.  Though, you need to be sure you initialize
> more variables than you think you'd use.
>
> Good luck!
> David Anderson
> Computer Associates