[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Extracting variable
From: |
Uri Shkolnik |
Subject: |
Extracting variable |
Date: |
Thu, 14 Apr 2005 04:45:45 -0700 (PDT) |
Hi,
The problem
I have a variable, that defined to be multiple
attributes with some space(s) and/or tab(s) between
them.
I would like to extract it to be multiline with single
parameter per line.
Example:
LIBS<space>:=<space><tab>genlib<space><space><space>phonelib<tab><tab><space>lcdlib<tab>mmilib<CR>
to be -->
LIBS<space>:=<space><CR>
<tab>genlib<space><space><CR>
<space>phonelib<CR>
<tab><tab><space>lcdlib<tab><CR>
mmilib<CR>
note: the location of the spaces and tabs in the
result is unimportant (they can be voided altogether)
BUT two consequent <CR> must have exactly one (and
only one) parameter between them.
ideas?
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
- Extracting variable,
Uri Shkolnik <=