[comp.lang.modula2] Strings in Modula-2

Ian.Green@f2.n153.z1.fidonet.org (Ian Green) (09/29/90)

   Anybody got some decent code to do string operations in Modula-2. 

One procedure I need is a WORKING implementation to look for sub-strings 
in a string. Ieally something that will conform to the following definition
 
PROCEDURE InString(source, target: ARRAY OF CHAR; VAR Pos: CARDINAL): BOOLEAN
 

Also, any other high level function would be useful.
 
If anyone wants code to do the Basic string operations, Right, Left, 
and Mid, I have implemented them so I can do some reasonable parsing 
of a line.
 
Ian Green



--  
uucp: uunet!m2xenix!puddle!153!2!Ian.Green
Internet: Ian.Green@f2.n153.z1.fidonet.org