| T O P I C R E V I E W |
| tib |
Posted - 10/23/2003 : 05:23:49 AM Is there a way to handle files with underscore? Like data_nk123.txt Since the underscore is used for the columns of a worksheet after import of multiple data fdlog.get(A,i) open -w %A; ...do some more with worksheet %A; the worksheet name will be set to "datank123" but the variable %A is still "data_nk123" OK, 1. I can do some rogramming to adjust %A and extract the underscore in the name if there is any. 2. I also could rename all the data files. This would cause other complications. But maybe there is another easier way to get around this? Thanks, Tilman.
|
| 1 L A T E S T R E P L I E S (Newest First) |
| Mike Buess |
Posted - 10/23/2003 : 6:31:58 PM Hi Tilman,
This will strip an underscore and do nothing if there is no underscore...
%A=%[%A,'_']%[%A,>'_'];
Even easier...
open -w %A; %A=%H;
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 10/23/2003 6:36:49 PM |
|
|