Ui Input field data help

I’ve run into a problem
I need to get the string that is entered into the new UI InputField but I have found nothing about what to do in order to reference the string
I am needing to store this string that was entered into the field in a string variable to do something with

Any help is appreciated

Does your UIInputField has a Text component attached?
if this is the case, you could do

string typedValue = myInputField.GetComponent<Text>().text;