Free Pascal Lazarus Program Tutorial 24 - String Manipulation 


Strings are an array of characters. Each character can be called upon in the same manner as calling an array element.

Example
In this example name is a string.
name := 'Billy';
writeln(name[5]);
y will be written to the screen because y is in position 5 of the string 'Billy'.

Code Download
FPProgT24.zip