Experimenting with String Routines
- 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);
- 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.
- Look up the documentation for some routines (e.g. Delete, DupeString, StuffString, and DelChars) and devise programs to demonstrate their use.