I\'d like to use a String value without the optional extension. I parse this data from firebase using the following code:
Database.database().reference(withP
That's because your value is actually an optional. You could either do
if let myString = laststring { print("Value is ", myString) }
or provide a default value like so
print("Value is ", laststring ?? "")
(in this case the provided default value is "")