Re[2]: Parsing
F HAGER X0366 (LIFH@atuvm.atu.edu)
Tue, 5 Dec 1995 10:05:36 PST
>Ya, (Im typing this out real quick so this might not work, but it should.
>I'm sure there there are programmers out there who would hand you a much
>better peice of code than this but it will do.
>txtb="";
>txt=args[1];
>txt=txt[2..length(txt)];
>n=index(txt,"/");
>txtb=txtb+txt[1..n-1];
>txt=txt[n+1..length(txt)];
>n=index(txt,"/");
>txtb=txtb+txt[1..n-1];
>txt=txt[n+1..length(txt)];
>txtb=txtb+txt;
>return txtb;
>
This is very very very inefficent..
$string_utils:words(strsub(txt,"/","")) works better.
-- Rand || Mat @ Most MOOs/MatC @ Lambda