id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

srp4379@lausd.net 2-stringbasics

Description:Introduction to Strings
Part 2. the substring() method


Extracting the 1st letter
firstLetter  getFirstLetter 

Extracting the first 2 letters or the 2nd letter
firstTwoLetters  getFirstTwoLetters  getSecondLetter 

Extracting the Last Letter
getLastLetter  lastLetter 

Extracting the Last 2 Letters
getLastTwoLetters  lastTwoLetters  getLastThreeLetters 

Extracting the 2nd- or 3rd-to-last letters
getSecondToLastLetter  secondToLastLetter  getThirdToLastLetter  getSecondAndThirdToLastLetters 

Concatenating letters at the front of the string
concatFirstLetters  combineFirstLetters  concatFirstTWOLetters  concatSecondTWOLetters 

Concatenating letters at the end of the string
concatLastLetters  combineLastLetters  concatLastTwoLetters  concatSecondToLastLetters 

Concatenating without letters at the front of the string
concatAllButFirstLetters  combineAllButFirstLetters  conCatAllButFirstTwoLetters 

Concatenating without letters at the end of the string
conCatAllButLastLetter  combineAllButLastLetter 

Concatenating without letters at the front AND end of the string
concatWithoutFirstLastLetters  combineWithoutFirstLastLetters  concatWithoutFirstTWOLastTWOLetters  concatWithoutStuff  concatStrange 
Authoring docs

Copyright Nick Parlante 2017 - privacy