How can I pass a Substring Data to a Text Field?