1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-28 10:51:14 +00:00
C02/include/stringx.h02

30 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-01-28 18:30:49 +00:00
/*******************************************************
* 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() *
2018-01-28 18:30:49 +00:00
* 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 */
2018-01-28 18:30:49 +00:00
char strspn();
/* Find First Character matching String *
* Args: &s - String of characters to match *
* Uses: String to parse specified by setdst() *
2018-01-28 18:30:49 +00:00
* Sets: temp1 - Result *
* Returns: Position of first character in *
* Destination that is also in Source *
* $FF if not found */
char strpbk();