-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstringUtils.h
More file actions
36 lines (22 loc) · 1003 Bytes
/
stringUtils.h
File metadata and controls
36 lines (22 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef STRING_UTILS_H
#define STRING_UTILS_H
#include <stdbool.h>
#include <stdio.h>
#include "StandardConstants.h"
#include <stdlib.h>
int getStringLength( const char *testStr );
int compareString( const char *oneStr, const char *otherString );
void concatenateString( char *destStr, const char *sourceStr );
void copyString( char *destStr, const char *sourceStr );
int findSubString( const char *testStr, const char *searchSubStr );
bool getStringConstrained( FILE *inStream, bool clearLeadingNonPrintable,
bool clearLeadingSpace, bool stopAtNonPrintable, char delimiter,
char *capturedString );
bool getStringToDelimiter(FILE *inStream, char delimiter, char *capturedString);
bool getStringToLineEnd( FILE *inStream, char *capturedString );
void getSubString( char *destStr, const char *sourceStr, int startIndex,
int endIndex );
void setStrToLowerCase( char *destStr, const char *sourceStr );
char toLowerCase( char inChar );
void utilitiesCheck();
#endif //STRING_UTILS_H