Basic HTML version of Foils prepared July 5 98

Foil 79 String Operations

From FMS: Forces Modeling and Simulation Handout JSU HPC Summer Institute for Undergraduates, Jackson MS -- June 15 1998. by Wojtek Furmanski, Subhash Nair, Tom Pulikal


Instr -- Finds a substring in a longer string
Strcomp -- Compares two strings
Asc -- Converts a single character to its ASCII value,
Chr -- Converts a no. to a character with its ASCII value.
Val -- Converts a string to a numeric value
Lcase -- Converts a string to its lower case,
Ucase -- Converts a string to its upper case.
Lset -- Left Justifies a string
Rset -- Right- Justifies a string
Mid -- Returns a no. of characters from any position .
Trim -- Removes blanks from the left & right sides of a string.
Space -- Creates a string containing blank spaces.
String -- Creates a string containig repeated characters.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998