RTFM - and in particular
http://www.ncl.ucar.edu/Document/Functions/Built-in/str_sub_str.shtml
HTH
PaulS
On Wed, 2012-05-16 at 16:06 -0400, Noel Aloysius wrote:
> Hello,
>
> I am writing a script to convert several flat binary files to netCDF
> binaries. The list of files within a folder are returned as follows,
>
> fin = systemfunc("ls " + diri + "*xxx-yyy_bc.bin")
>
> I want to create the output file names (fout) by replacing ".bin" with
> ".nc"
>
> Appreciate your suggestion,
>
> Thanks,
> Noel
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed May 16 14:13:30 2012
This archive was generated by hypermail 2.1.8 : Thu May 17 2012 - 13:42:02 MDT