ToLower makes all string of user input to lowercase it can be chained on function which return StringManipulation interface
()
| 355 | // ToLower makes all string of user input to lowercase |
| 356 | // it can be chained on function which return StringManipulation interface |
| 357 | func (i *input) ToLower() (result string) { |
| 358 | input := getInput(*i) |
| 359 | return strings.ToLower(input) |
| 360 | } |
| 361 | |
| 362 | // Title makes first letter of each word of user input to uppercase |
| 363 | // it can be chained on function which return StringManipulation interface |