1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-24 15:31:17 +00:00
C02/include/stringx.h02
2020-10-11 14:45:01 -04:00

30 lines
1.1 KiB
Plaintext

/*******************************************************
* stringx - Extended String Handling Routines for C02 *
*******************************************************/
/* Find Span of Characters not matching String *
* Args: &s - String of characters to match *
* Uses: String to parse specified by setdst() *
* Sets: temp1 - Result *
* Returns: Number of consecutive characters in *
* Destination that are not in Source */
char strbrk();
char strcsp(); //Alias
/* Find Span of Characters matching String *
* Setup: setdst(s) - String to Search *
* Args: int &m - String to match *
* Returns: Number of consecutive characters *
* in m that are also in s */
char strspn();
/* Find First Character matching String *
* Args: &s - String of characters to match *
* Uses: String to parse specified by setdst() *
* Sets: temp1 - Result *
* Returns: Position of first character in *
* Destination that is also in Source *
* $FF if not found */
char strpbk();