Extracting returns out of an input text fields
Posted: Fri Jul 07, 2006 4:54 am
Here is my problem. I need to display the input of an text input field in a table that is limited to a certain size.
I got space for 12 lines with 30 chars each. So now i need to count the chars and when a return is used I need to determine how many chars I have to deduct for the shorter line.
At this point I am kind of pulling a blank in my head which is frustrating because I feel the solution is so easy.
I hope some of you can point me in the right direction as it seems I have to take a little time off to get my head thinking again
I got space for 12 lines with 30 chars each. So now i need to count the chars and when a return is used I need to determine how many chars I have to deduct for the shorter line.
At this point I am kind of pulling a blank in my head which is frustrating because I feel the solution is so easy.
I hope some of you can point me in the right direction as it seems I have to take a little time off to get my head thinking again