String manipulation in Object pascal - Printable Version +- QP School (https://qomplainerzschool.lima-city.de) +-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3) +--- Forum: Object Pascal Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=50) +--- Thread: String manipulation in Object pascal (/showthread.php?tid=5047) |
String manipulation in Object pascal - Qomplainerz - 07-25-2023 program StringManipulationExample; begin // Variable declaration var name: String := 'John Doe'; length: Integer; // Get the length of the string length := Length(name); WriteLn('Name:', name); WriteLn('Length of name:', length); end. |