I've loved mathematics for a very long time but am only now beginning my journey to learn to code. The attached image shows the two different outputs (out-5, out 6) for a simple crypto-cypher I'm trying to program. The copy and paste flexibility (without quotes) is important for the development of the program but I can't for the life of me tell what is causing the difference or what to do about it. I've spent nearly three days trying to troubleshoot it myself and would appreciate any insights the community may have.
Updated:
I've updated the question for clarity with the most relevant part of the code. I've investigated the answers so far and dug deep into the function with Head[] but the issue continues. How can I update the string to the proper set of digits MMA online wants?
j = InputForm[ToString[#]] & /@ {1B9C0,7C3E0,F87C0,37380,1064A0,45060,A5A80,A5A80}
{"B9C0","7 C3E0","F87C0","37380","1064 A0","45060","A5A80","A5A80"}
Interpreter["HexInteger"][j]
{Failure[\[WarningSign] Message: Enter a valid number. Tag: InterpretationFailure
ff = FromDigits[#, 16] & /@ j
FromDigits::nlst The expression"F87C0" is not a list of digits or a string of valid digits.
{FromDigits["B9C0",16],FromDigits["7 C3E0",16],FromDigits["F87C0",16],FromDigits["37380",16],FromDigits["1064 A0",16],FromDigits["45060",16],FromDigits["A5A80",16],FromDigits["A5A80",16]}