FKETM Code Libraries -Strings- Page


Library Name   Strings
Description String handling and manipulation routines
Status in production, code in use in released products
Header Files
StringFn.h       Function declarations for the FKE string function library
Functions
int         clsw_find(int argc,const char* argv[],CSTRC swstr,BOOL bExact);
int         clsw_ifind(int argc,const char* argv[],CSTRC swstr,BOOL bExact);
long        FileTextFind(FILE** pfp,FILE** ifps,const char* txt,char* bfr,int maxln,BOOL atomic);
long        FileTextFindi(FILE** pfp,FILE** ifps,const char* txt,char* bfr,int maxln,BOOL atomic);
long        _FileTextSearch(FILE** pfp,FILE** ifps,const char* txt,char* bfr,int maxln,BOOL atomic,BOOL keepcase);
int         FixExtens(int* pfac,char** pfav[],int argc,char* argv[],CSTRC ext);
int         left_str(char* bgn,char* end,char* out,unsigned int max,int flags);
BOOL        LineContains(const char* buffer,BOOL keep_case,int argc,const char* argv,...);
BOOL        LineIncludes(const char* buffer,BOOL keep_case,int argc,const char* argv,...);
int         ParseCommandTail(char* cmdTail,char** pszArgs[]);
void        SetExten(char* target,const char* filespec,CSTRC exten);
char*       sgets(char* pBfr,int nMaxBfr,const char*& pSrc);
int         SplitFilename(char* path,char* drv,char* dir,char* name,char* ext);
BOOL        StringCheckNonblank(const char* string);
void        StringDisplay(const char* string);
void        StringError(int errorlevel,const char* supplemental_string);
void        StringPadRight(char* str,char chr,int maxlen);
void        StringPrint(const char* string);
void        StringToLower(char* string);
void        StringToUpper(char* string);
char*       StripSpace(char* s);
const char* strL5ErrorText(int nErr);
int         strL5FBlockPrefix
            (
                FILE* fp,           // open filestream handle being written to
                const char* szName, // function name
                const char* szDescr // description body
            );
int         strL5LastError(void);
const char* strL5LastErrorText(void);
BOOL        strL5SaveString     // don't alloc new buffer if length < existing
            (
                char** pszWhere,    // where to put the string
                int* pnSize,        // size of the existing buffer
                const char* szWhat  // new string to store
            );
char*       strstri(const char* szStr,const char* szFind);
int         StrMatchFilter(const char* szName,const char* szFilter);
void        Time24To12(char string[9]);
		

For more information, click here, or send email to codelibs@L5Software.com with "Library::Strings inquiry" in the subject line.

 

FKETM Code Libraries Home Page
L5 Software Development


All sales of these products help finance the operations of The L5 Development Group,
a private enterprise space exploration and development effort.
Visit The L5 Development Group for more info about space colonies and space business.

FKETM Code Libraries -Strings- Page / Webmaster / Last modified December 8, 2002 @ 10:13 am
Copyright © 2024 by L5 Software Development. All rights reserved.

Hosted by FKEinternet