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


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

in Table To:


© 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