• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Forms and Regular Expressions > Formatting and Sorting Strings

Formatting and Sorting Strings

Another typical task you might want to do is to sort a group of names. Script 7.5 combines the previous two examples and adds a sort. The end result is the list of names in last name order, properly capitalized, and alphabetized.

Script 7.5. This script takes a bunch of names in any format and order, and turns them into a neat and orderly list.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint