about | help | code help+videos | done | prefs |
srp4379@lausd.net 1-stringbasics
Description:Introduction to Strings
Part 1. the length() method
How to use length()
howManyLetters stringLength howLongIsText
Adding lengths to get a sum
sumStringLengths howManyLettersBothStrings addStringLengths sum3Lengths
Lengths greater or smaller
longerThan4 longerThan6 shorterThan6 shorterThan3
Comparing lengths
whichIsLonger getLonger getShorter
Finding the largest or smallest
longestLength3 mostLetters3 shortestLength3
Concatenating Strings
conCat1 conCat2 conCatShortestFirst shortestOneFirst conCatLongestFirst
Authoring docs
Copyright Nick Parlante 2017 - privacy