Main Page   Modules   Data Structures   File List   Data Fields   Globals  

Miscellaneous routines to handle strings


Functions

int first_blk (char *string)
int last_char (char *string)
int fill_blk (char *string, int nb_blk)
int string_compar (char *string1, char *string2)

Function Documentation

int first_blk char *  string  ) 
 

returns the position of the first blank character in string

Parameters:
string [char *] string

Definition at line 29 of file strings.c.

Referenced by CP_non_std_desc(), create_col(), create_cube(), create_E3D_file(), create_frame(), create_spec(), create_table(), get_all_desc(), get_assoc_table_name(), handle_select_flag(), header_cube(), header_frame(), header_spec(), open_cube(), open_E3D_file(), open_frame(), open_spec(), open_table(), RD_catalog(), and set_user_dataformat().

int last_char char *  string  ) 
 

returns the position of the last non white character in string and sets end of string

Parameters:
string [char *] string

Definition at line 49 of file strings.c.

Referenced by RD_col(), and RD_tbl().

int fill_blk char *  string,
int  nb_blk
 

append blank characters to string

Parameters:
string [char *] string
nb_blk [int ] number of char. in returned string

Definition at line 68 of file strings.c.

int string_compar char *  string1,
char *  string2
 

returns the common sub-string length of two strings

Parameters:
string1 [char *] string
string2 [char *] string

Definition at line 88 of file strings.c.


Generated on Tue Jul 1 17:35:47 2003 for IFU_C_iolibs by doxygen1.3