Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Functional Iteration >

LengthWhile

LengthWhile[list, crit]
gives the number of continuous elements ei starting at the beginning of list for which crit[ei] is True.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team