what I want to achieve is to search a certain element in a string of letters that occur only once. So e.g. "ABCDEFG". Input should be a letter that gets stored in a string aswell. Is there an easier way than the code below? Also how to work around the issue where the you want to replace the first or last letter??
Str1 holds the alphabet
Str4 also holds the alphabet but the elements get replaced here
Str1->Str4 Input "? ", Str2 //This letter in Str2 gets replaced sub(Str4,1,inString(Str1,Str2)-1)+"0"+sub(Str4,inString(Str1,Str2)+1,25-inString(Str1,Str2))->Str4
This replaces the input with 0
I know a first step would be to store inString(Str1,Str2) in some variable
I'm working with a TI-82