FANDOM



:left(list,elements)

This returns a list that is the length dictated by elements, and contains the same elements, starting from the left, as the parameter list.

:left(string,chars)

This returns a string that is the length dictated by chars, and contains the same chars, starting from the left, as the parameter string.

LocationEdit

TI-89

  • 2ND + 5 (MATH)
  • 3:List
  • 9:left(

OR

  • 2ND + 5 (MATH)
  • D:String
  • 7:left(

TI-nspire

  • Catalog
  • 2
  • List
  • Operations
  • Left

OR

  • Catalog
  • 2
  • String
  • Left

ExampleEdit

:seq(x^2,x,1,100)→list
:Input "First # squares?",n
:Disp left(list,n)

This creates a list of the first n squares, by creating a list of square numbers, then trimming the list on the left.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.