Initials
Easy · Strings
strings.Fields splits a name into words. Take the first rune of each word, uppercase it, and concatenate.
Write Initials(name) that returns the initials of name. "Ada Lovelace" becomes "AL".
Next: Clamp a Number
Easy · Strings
strings.Fields splits a name into words. Take the first rune of each word, uppercase it, and concatenate.
Write Initials(name) that returns the initials of name. "Ada Lovelace" becomes "AL".
Next: Clamp a Number