Welcome to Phrogram Sign in | Join | Help
in Search


Browse by Tags

All Tags » KPL » Substring
  • Substring behaviour I don't understand

    Hi all, Can anyone explain to me why a) This prints "es": Print(Substring("testing", 2, 5)) b) This results in a runtime error saying that Length can't be 0: Print(Substring("testing", 2, 10)) Based on the description in the system method documentation (see below), I would expect a) to print ...
    Posted to KPL Questions and Answers (Forum) by Gert on September 27, 2006