[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Splitting a Row from a file
- Subject: RE: [sqr-users] Splitting a Row from a file
- From: Bob Stone <bstone@fastenal.com>
- Date: Tue, 16 Nov 2004 14:02:34 -0600
- Delivery-date: Tue, 16 Nov 2004 15:05:24 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
read the file/line of file into a $var (maybe split the thing up by line,
depending on how many symbols are on each line or in the file, etc).
UNSTRING $line by '|' into
$sym1
$sym2
$sym3
...
$max#ofSym_Per_Line
UNSTRING can be split on any delimiter.
-----Original Message-----
From: sqr-users-bounces+bstone=fastenal.com@sqrug.org
[mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org]On Behalf Of
Murty Mirthipati Venkata Suryanarayan
Sent: Tuesday, November 16, 2004 1:58 PM
To: This list is for discussion about the SQR database reportinglanguage
fromHyperion Solutions.
Subject: [sqr-users] Splitting a Row from a file
Guys,
I am trying to read a delimited file ( delimiter | symbol ) and put into
variables. Please help me to do in a simple way.
Thanks a lot.
With Best Regards,
Murty ;)
DISCLAIMER:
Information contained and transmitted by this E-MAIL is proprietary to
Hexaware Technologies and is intended for use only by the individual or
entity to which it is addressed and may contain information that is
privileged, confidential or exempt from disclosure under applicable law.
If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible
for delivering the information to the named recipient, you are notified
that any use, distribution, transmission, printing, copying or
dissemination of this information in any way or in any manner is
strictly prohibited. If you have received this communication in error,
please delete this mail & notify us immediately at
adminchn@hexaware.com.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users