BTW, why are we speaking English? If it is your home language, may be it would be easier for you to use some Basic variant instead of this spanish pseudocode. But if you want to try with pseint anyway, you're welcome to do it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can use string functions to extract substrings from strings. Look for the example named "cadenas" in PSeInt's help ( http://pseint.sourceforge.net/index.php?page=ejemplos.php&cual=Cadenas&mode=flexible ).
BTW, why are we speaking English? If it is your home language, may be it would be easier for you to use some Basic variant instead of this spanish pseudocode. But if you want to try with pseint anyway, you're welcome to do it.