Login  Register

Re: substring

Posted by Gluender-2 on Oct 01, 2008; 4:19pm
URL: http://imagej.273.s1.nabble.com/substring-tp3694891p3694895.html

>str = "C:\Dokumente und Einstellungen\Johannes Breu\Eigene
>Dateien\Platz\Images\IN12/Image0006.tif";
>ix = indexOf(str, "Images");
>n = substring(str, ix);
>print(n);
>
>I just noticed that on my Mac OSX (ImageJ 1.41) the forward slash
>disappears but it might work on you Windows machine just fine.
>
>Cheers,
>Ben


For me, the backward slashes disappear with OSX...

(C:Dokumente und EinstellungenJohannes BreuEigene
DateienPlatzImagesIN12/Image0006.tif)

Best
--

                   Herbie

          ------------------------
          <http://www.gluender.de>