Page 79 - Programming VB.NET
P. 79

Code With VB.Net                              75

               7. Trim          StringExpression.Trim()




               8. Substring     StringExpression.SubString(Start)
                                StringExpression.SubString(Start,
                                Length)


               9. IndexOf       StringExpression.IndexOf(Search
                                String)





               8.3 String Application


                   Step 1: Design the interface as shown in Figure 8.1

                   Step 2: Set the objects and properties as shown in
                   Table 8.1.
                   Step 3: Plan the event procedures as shown in

                   Table 8.2.
                   Step 4: Write the code

                   Step 5: Save and run the project.
   74   75   76   77   78   79   80   81   82   83   84