Esempio n. 1
0
// The old standby - reverse a string
func exercise8() {
	input := utils.GetDefaultInput()
	reverse := Reverse(input)
	fmt.Println("The reverse is", reverse)
}
Esempio n. 2
0
// A little more string fun along with file creation
func exercise9() {
	input := utils.GetDefaultInput()
	substrings := FindUniqueSubstrings(input, 3)
	WriteFile(substrings)
}