Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- stringlen

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
stringlen
Synopsis
/infobank/programs/share/stringlen.for
Description
  Subroutine to determine the length of a character string.

           
       
USAGE
  "a" = argument, "r" = referenced, "s" = set

  
  call stringlen                        (with the following arguments)
         Text                        [variable char*(*) r]
         Length                      [variable i*4 sr]
  
  Input:
    Text    = Character string whose length is to be determined
  Output:      
    Length  = Integer length of Text returned by the subroutine
    
    
PROMPTS
  None

      
    
SUBROUTINES
  None called

     
    
FUNCTIONS
  char                (FORTRAN intrinsic function)  

  len                 (FORTRAN intrinsic function)  
                        
    
DISCLAIMER
  Although this program has been used by the U.S. Geological Survey,

  no warranty, expressed or implied, is made by the Survey as to the
  accuracy and functioning of the program and related program
  material nor shall the fact of distribution constitute any such
  warranty, and no responsibility is assured by the Survey in
  connection therewith.
                 
    
AUTHOR
  Clint Steele      2/6/85          .for

  Clint Steele      2/12/85  Modified for MAT
  Jean Riordan      1/15/88  Modified for DRS$SHARE UNIX compatibility
  Carolyn Degnan    9/23/04  added implicit none.

    
Reads
Writes
Opens
Calls

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/share/stringlen.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:36:50 PDT 2013  (chd)