How to drag and drop string from one textfield to other

I have created one text field where 10 lines is placed so i have to pick one string by mouse drag and drop or by touch in android from one place to other text field???

Edit:–Its contains some lines like this Hello!How are you?
Hello!I am Fine.
…and so on
so I have to pick one whole line like Hello!How are you?..and placed on the same scene in another text field where text field is empty…by using mouse drag and drop or touch in android…and that string i.e.Hello!How are you? is deleted from that box where its contains…when i perform drag and drop…

I hope i precise my question???

My answer assumes you are using GUI.TextField to gather user input.

-First, there is no easy, out of the box way to do this.
-Second, I will give you a list of steps, which you should research as most will surely raise other questions, which are already answered on this forum.
-Third, there are many other ways to do this. Personally, I use NGUI and not UnityGUI.

Go!

  1. You will need to split that multi line string in lines. http://stackoverflow.com/questions/1547476/easiest-way-to-split-a-string-on-newlines-in-net

  2. Figure out if the mouse down event happened in the text field. For that, use Rect.Contains, Event.mousePosition and Event.button

  3. Figure out which line the mouse button down event took place on. Quite simple if you know the height of a line of text. Store that in a var.

  4. Repeat 2 and 3 but checking the target text field instead and button up event.

  5. Modify source and destination strings accordingly.