I have an array full of string objects. My code chooses one of those objects and then writes it to a global variable.
The catch is, each string has extra characters that I don't want.
in 0,0 the string is A.object
in 0,1 the string is B.object
How can I remove the "object" part of the string before writing it to the global variable (The result is ends up being just the initial letter in the global variable). Is it even possible?