NCEPLIBS-bufr  12.0.1
igetfxy.f File Reference

Search for a valid FXY number within a character string. More...

Go to the source code of this file.

Functions/Subroutines

function igetfxy (STR, CFXY)
 This function looks for and returns a valid FXY number from within the given input string. More...
 

Detailed Description

Search for a valid FXY number within a character string.

Author
Ator
Date
2007-01-19

Definition in file igetfxy.f.

Function/Subroutine Documentation

◆ igetfxy()

function igetfxy ( character*(*)  STR,
character*6  CFXY 
)

This function looks for and returns a valid FXY number from within the given input string.

The FXY number may be in format of either FXXYYY or F-XX-YYY within the input string, but it is always returned in format FXXYYY upon output.

Parameters
[in]STR- character*(*): input string.
[in]CFXY- character*6: FXY number in format FXXYYY.
Returns
  • 0 normal return.
  • -1 could not find a valid FXY number in STR.
Author
Ator
Date
2007-01-19

Definition at line 19 of file igetfxy.f.

References numbck().

Referenced by getntbe(), sntbde(), and sntbfe().