Skip to content

Sentence Capitatlization #22

Description

@xasterKies

Directions

Write a function that accepts a string. The function should capitalize the first letter of each word in the string then return the capitalized string. Use functions and methods where needed.

You can code this with any language of your choice!

Examples

capitalize('a short sentence') ------> 'A Short Sentence'
capitalize('a lazy fox') ------> 'A Lazy Fox'
capitalize('look, it is working!' -------> 'Look, It Is Working'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

EasyBeginner FriendlychallengeDaily Challengetrivialquestionable problem

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions