Skip to Content
0
Former Member
Dec 04, 2006 at 05:44 AM

Remove Carriage return from string

1735 Views

I have a free text area on a BSP (a form). When users type continuously in this area the text gets wraped. When the BSP is submitted it generates a sapscript form and the text area is printed on the form, but it has '##' which are placed where the text wrapped round. I would like to remove '##', so tried the following:

replace all occurrences of '##' in text_area with ' '.

This did not work as the '##' are not recognised presumably because they are some type of carriage return and not in fact has marks.