Laboratory for Pascal. String variables.
Lab. Topic - Working with string variables in Pascal.
Quest - Insert the entered from the keyboard substring from a specified position.
Example: Enter the string: in ice cold winter time ...
Enter a substring: Once
Enter the number of positions at which to insert the substring: 1
Putting a line "in the ice cold winter time ..."
Introduction substring "Once"
Insert position 1
The result: "Once in ice cold winter time ..."
No feedback yet