Error in implementation of substr and substring

substring don’t swap indeces
substr second parameter need to be number of symbols not index



I made some changes into Strings.pas

Hello

Thank you for the code. Corresponding function implementations were updated and now they successfully pass tests based on the abovementioned documentation.

Code changes and corresponding tests were pushed to the github repository

Thanks