Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!bionet!ames!ncar!bierstadt.scd.ucar.edu!tparker From: tparker@bierstadt.scd.ucar.edu (Tom Parker) Newsgroups: comp.lang.rexx Subject: Question about Parsing Message-ID: <9304@ncar.ucar.edu> Date: 27 Nov 90 20:48:23 GMT Sender: news@ncar.ucar.edu Reply-To: tparker@bierstadt.scd.ucar.edu (Tom Parker) Organization: Scientific Computing Division/NCAR, Boulder, CO Lines: 27 Here's a question regarding PARSEing in REXX on VM/CMS: In parsing, I know you can use a string pattern in a variable, by putting it in parentheses. For example: slash = '/' parse value 'dog/cat' with word1 (slash) word2 But I can't find how to use a NUMERIC pattern in a variable. For example, I might want to break a string at a specific column determined by the program. Simplistic example: column = 4 parse value 'dog/cat' with word1 (column) word2 will use '4' as a string pattern, rather than as a number pattern. So, my question is: is there a way to use a numeric pattern in a variable when parsing? Thanks for any help. Tom Parker National Center for Atmospheric Research tparker@ncar.ucar.edu