LessonAbout 6 minLesson languageEnglishதமிழ் (Tamil)हिन्दी (Hindi)മലയാളം (Malayalam)తెలుగు (Telugu)ಕನ್ನಡ (Kannada)বাংলা (Bengali)मराठी (Marathi)ગુજરાતી (Gujarati)ਪੰਜਾਬੀ (Punjabi)Chapter 6 · Lesson 4 of 504. Capitals, spaces and splitChange capitals with toUpperCase and toLowerCase, remove extra spaces with trim, and split a line into an array of words.