scott,
you can do this:
if y is "yyyy zzzz"
x=stringtocharacter(y)
title= charactertostring(x(0:3))
basically you convert the string to a character array so that you can
subscript it, then convert the sub-array back to a string.
sm
******************************************************
Sylvia Murphy EML: murphys AT ucar.edu
NCAR CGD/CAS PHN: 303-497-1720
1850 Table Mesa Dr FAX: 303-497-1333
Boulder, CO 80305
WEB: http://www.cgd.ucar.edu/csm/support/
http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
******************************************************
_______________________________________________
ncl-talk mailing list
ncl-talk AT ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Thu Sep 12 2002 - 17:09:00 MDT