xbee to xbee send and test string

hello,

please i have 2 xbee attached in 2 arduino

the project is to send from arduino to arduino a string via xbee

so i will test the string send it for doing a instruction

so how i can test a string input and test it