mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-12-01 14:51:52 +00:00
32 lines
848 B
Plaintext
32 lines
848 B
Plaintext
|
/**************************************************
|
||
|
* stringm - String Modification Routines for C02 *
|
||
|
**************************************************/
|
||
|
|
||
|
/* Append Character to String *
|
||
|
* Args: c - Character to append *
|
||
|
* s - String to append to *
|
||
|
* Returns: New length of string */
|
||
|
char strapd();
|
||
|
|
||
|
/* Convert String to Lowercase *
|
||
|
* Args: int &s - String *
|
||
|
* Returns: char l - Length */
|
||
|
char strlwr();
|
||
|
|
||
|
/* Pad or Truncate String *
|
||
|
* Args: char n - New Length *
|
||
|
* int &s - string *
|
||
|
* Returns: char l - Length */
|
||
|
char strpad();
|
||
|
|
||
|
/* Prepend Character to String *
|
||
|
* Args: c - Character to prepend *
|
||
|
* s - String to prepend to *
|
||
|
* Returns: New length of string */
|
||
|
char strppd();
|
||
|
|
||
|
/* Convert String to Uppercase *
|
||
|
* Args: int &s - String *
|
||
|
* Returns: char l - Length */
|
||
|
char strupr();
|