Thank you, Razzak.
I'll have a look at it immediately.

grtz

luc

--------------------------------------------------
From: "A. Razzak Memon" <[email protected]>
Sent: Monday, July 05, 2010 3:32 PM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - re: inserting spaces

At 09:09 AM 7/5/2010, Luc Delcoigne wrote:

in a report I have to translate the following Access var to R:base:

= ([Pnaam] & Space(24-Len([Doktersnaam])) & [Doktersvoornaam])

this has to be sent to a txt-file, where the line-position of the
first character of 'Doktersvoornaam' is 25. So, i have 24 positions
to fill with the name and fill the rest with blanks.

What is the most elegant way to do this in R:base ?

Luc,

You can provide such data as Fixed Filed ASCII format using SPUT
and SFIL functions of R:BASE!

Take a look at the following article with examples to help you
understand the logic of creating a plain text file with fixed
fields.

From The Edge: http://www.razzak.com/fte/

Topic Header: FIXED > Search

Topic: Creating Fixed Field ASCII Files

Hope it helps!

Very Best R:egards,

Razzak.




Reply via email to