Page 440 -
P. 440

the index


              starting and stopping, 316–317                   starting substring, checking, 56
              volume, adjusting, 336–345                       substrings of, 43–46, 48, 49
              WAV files for, 221, 223                          uppercase, converting to, 54, 56
           source code. (see code)                             web pages as, 49
           spaces. (see white space)                        StringVar() variable, 278, 280, 292
           split() method, strings, 121–124, 144, 161–162, 175  strip() method, strings, 56
           SQL, 170. (see also database)                    substrings, 48
                                                               length of, 49
           square brackets ([])                                searching for, in strings, 52–58
              creating arrays, 132, 134                        specifying, 43–46, 49
              enclosing index of array, 132
              enclosing index of string, 42                 Surf-A-Thon example, 114–143, 146–174
              enclosing key for hash, 153                      highest score, calculating, 114–125
                                                               names, matching to scores, 142–143, 146–157
           stack, 104
                                                               score data, extracting from database, 169–174
           stack frame, 105, 111                               score data, extracting from formatted file, 160–167
           Starbuzz Coffee example, 38–74, 78–110              scores, sorting, 136–141, 158–159
              coffee supplies, maintaining, 78–91              three highest scores, calculating, 126–135
              discount price, finding in HTML, 50–59
              health club discounts, calculating, 204–213
              low price, checking for, 60–74
              order messages, sending to Twitter, 92–110    T
              price, extracting from HTML, 38–49
           startswith() method, strings, 56                 tabs in code, 22
           Stellman, Andrew (Head First C#), 388            testing, automated, 389
           storage of data, 129–130                         text. (see strings)
           storeroom example, 294–310                       text boxes, 248
           strings, 41–42, 48, 75                           Text() widget, 261, 269, 292
              ending substring, checking, 56                   creating, 266–267
              formatting, 180–184, 186, 214                    methods for, 263
              lowercase, converting to, 56                  third-party libraries (packages), 220, 223
              methods for, 55–56                            threads, 394
              offset value (index) of, 42
              removing white space from, 56                 time() function, time library, 70
              replacing substrings in, 56                   time library, 68–73
              searching for substrings in, 52–58            timezone() function, time library, 70
              splitting at spaces, 121–124                  Tk() app, 234, 255
              splitting at specified character, 161–162







                                                                                       you are here 4    405
   435   436   437   438   439   440   441   442