Experimenting with String Routines

  1. In procedure Name of program StringDemo, use a trim function so that extra spaces typed in are not included in Surname. e.g. Surname := Trim(Surname);
  2. In procedure Name of program StringDemo, ask the user to type in a name with forename, middle name and surname. The procedure should output the middle name.
  3. Look up the documentation for some routines (e.g. Delete, DupeString, StuffString, and DelChars) and devise programs to demonstrate their use.
Programming - a skill for life!

Introduction to string routines such as the concat function