is it possible to design a program that for example if the user enters

120 for the program to select 0 as it is the last character?

i think so

but how would you represent that as psuedocode? is it even possible? because i know for a fact that string manipulation is a function of any specific programming language and not something as generic as psuedocode...