SAMPLE TEXT("everyone can help")

can any1 help me, write the code to count text. for example you have 2 text boxes when a user enters 2 in editbox1 and enters 5 in editbox2, the message in memo box is display as
"very"

CAN ANYONE HELP PLEASE

Try this

copy(TheText, 2, 5-2+1);

Thanks

thanks guys for your help but that's not what i mean. I have drafted an example please find it in the attached document. please help me out

Then you need to reword your question properly as the answer given answered your original question.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.