1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-25 06:31:25 +00:00
C02/include/stringm.h02
2021-09-20 20:56:07 -04:00

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();