Dear Maple users
As a followup on my recent question about how to count the number of characters in a string containing special Danish characters here: https://www.mapleprimes.com/questions/236478-How-To-Count-Length-Of-String-When-Special
I also need to handle substrings from a string in my work in Cryptography. In my attached file I present an example with a string containing two special characters. The problem is however, that I need to access individual characters in the string. Normally I would do so by using the command substring. As indicated in the file it doesn't work very well, because the special characters are represented by TWO elements (bytes)!
Is there a smart way to create a new command named SUBSTRING to accompanying the great LEN command suggested by vv?