42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_strcapitalize.c File Reference

The file containing the my_strcapitalize function. More...

#include "my.h"

Functions

char * my_strcapitalize (char *str)
 Capitalizes the first letter of each word in a string (str) and lowercase the other letters.
 

Detailed Description

The file containing the my_strcapitalize function.

Author
Nicolas TORO

Function Documentation

◆ my_strcapitalize()

char * my_strcapitalize ( char * str)

Capitalizes the first letter of each word in a string (str) and lowercase the other letters.

Parameters
strThe string to modify
Returns
char* The modified string
Author
Nicolas TORO