Re: Modify block column
- --- In email@example.com, "Sandy Rozhon" <srozhon@...> wrote:
>Modify --> block works on counted characters, rather than screen or
> I have a file that contains columnar data that I wish to alter
> slightly. Instead of:
> I'd like the data to look like this:
> I thought I could just use the MODIFY/BLOCK command to replace column
> 7 with the bar "|" and similarly for the dash to slash conversion.
database column. Tabs count as 1 character. If you can select the
block you want to move AND there are no embedded tabs, it will
probably work. Why not just COPY the file to a test document, and TRY it?
Since you want to change some individual characters, you'll have to do
that in a separate search / replace operation.
NOTE: if you select a block, then try to make a search/replace within
the block, you might get some surprises. Replace does not work within
the block, but within the selection.
- abairheart wrote:
> --- In firstname.lastname@example.org, "Sandy Rozhon" <srozhon@...> wrote:I would write a clip, split each line to an array on the | delimiter, go
>> I have a file that contains columnar data that I wish to alter
>> slightly. Instead of:
>> I'd like the data to look like this:
to the second field in the array and replace the first - with a | and
the second with a /.
It could also easily be done with a regex.