Mikroelektronika MIKROE-738 Datenbogen
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
mikroC PRO for PIC32
MikroElektronika
641
Rtrim
Prototype
char *Rtrim(char *string);
Description Trims the trailing spaces from array given with
*string
Parameters -
string
: array to be trimmed.
Returns
The function returns the address of the first non-space character.
Requires
Nothing.
Example
char *res;
res = Rtrim(“ mikroe”); // trims the trailing spaces and returns the
address of the first non-space character
Notes
None.
Ltrim
Prototype
char *Ltrim(char *string);
Description 66
Trims the leading spaces from array given with
*string
Parameters -
string
: array to be trimmed.
Returns
The function returns the address of the first non-space character.
Requires
Nothing.
Example
char *res;
res = Ltrim(“ mikroe”); // trims the leading spaces and returns the address
of the first non-space character
Notes
None.