added string example
added array example
added slice example