Word wrap by delimiter in Report

Hi,
How Can I have word wrap in report based on delimiter in the column value
For eg:
My column value in country like AU:NZ , US:UK:CA
I want the values to wrapped by delimiter ":" , so that ANZ and NZ comes in two line
I tried REPLACE(country, ':' ,chr(10) ) , but the result is coming as single line
Regards,
Benz

HTML treats all white space (spaces, tabs, newlines etc) as a single space.
One solution would be to use the <br /> line break element:
replace(country, ':', '<br />')A better one is to give the list of countries some semantics by marking it up as, well, a list:
'<ul><li>' || replace(country, ':', '</li><li>') || '</li></ul>'

Similar Messages

  • How to avoid word wrap in the BW Report so that result fits in single row

    Hello Colleagues
    I have a report which shows Material number versus Revenue. In the row, material is displayed with Technical name and description.
    Here, the view of the report shows the description in single line. While, in the report, description of the report runs 3 to 4 lines though description contains 5 to 6 words (which can fit easily into single line).
    Let me know how to restrict each row descrption into single line.
    Regards,
    Ningaraju

    no answers opened new thread to make more clear

  • Prob with fixed column widths and word wrapping in viewer

    i have a report where each record has a very long paragraph of text in it.
    In desktop and plus, the text column is at a fixed width and the text just wraps nicely according to the column width.
    But in Viewer, the column widths do not stay fixed, the text does not wrap, and the long text is displayed in a single line that completely stretches the column width off the page and requires a horizontal scroll bar.
    is there anyway to fix the column width in viewer, have the text naturally wrap, and prevent the column stretching. All word wrapping settings are on, but seem to have no effect. I can't seem to find any solution to this.
    Thanks...

    Hi Pritam,
    Per my understanding that you can't see the vertical scrollbar of the ReportViewer controls 2012 to scroll for the grid rows, but can see the vertical scrollbar of the web application, you also can't fix the headers while scrolling, right?
    I have tested on my local environment and can't reproduce your issue, but you have an alternative way to add some css  to the web form's source code to display the vertical scrollbar.
    Details information below for your reference:
    Please check below properties setting of the reportviewer which control the visibility of the scrollbar:
    AsyncRendering="true"
    SizeToReportContent="false"
    Please check if this problem also occur on other version of IE and other type of browser.
    Please check if you have done correct setting of the Fix data to freeze the table header as the step of below:
    http://technet.microsoft.com/en-us/library/bb934257(v=sql.100).aspx
    If step1 doesn't work, please click the source of webform.aspx and add below CSS to add the vertical scrollbar manually:
    #ReportViewer1 {
              overflow-y: scroll;
    Run the application you will see it display as below:
    Similar thread for your reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/f96b3b56-e920-411b-82ea-40467c922e66/reportviewer-control-vertical-scroll-bars
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • Word Wrap in htmldb

    Can anyone tell me how to word-wrap in the values in a particular field of a table in htmldb? The values of a certain field are very long and hence the table is unnecesarily occupying lot of space..........thus, it would be helpful if word-wrapping was possible.
    Thanks in advance.

    how about using the following function to wrap the data in a column?
    I tested it in HTML DB and it worked fine.
    -- convert P_DATA into wrapped words. Words are delimited by <br> so that
    --  it can be displayed in HTML format
    --  P_N is number of characters
    FUNCTION HTML_WRAP( P_DATA IN VARCHAR2, P_N NUMBER DEFAULT 2) RETURN VARCHAR2
    IS
    TYPE T_DATA_CHARS IS TABLE OF VARCHAR2(1) INDEX BY BINARY_INTEGER;
    V_DATA_CHARS T_DATA_CHARS ;
    N NUMBER :=1;
    V_OUTPUT VARCHAR2(4000);
    BEGIN
    IF LENGTH(P_DATA) > P_N THEN
      -- populate Data in the array
      FOR I IN 1..LENGTH(P_DATA) LOOP
       V_DATA_CHARS(I) := SUBSTR(P_DATA,I,1);
      END LOOP;
      -- process the string
      FOR I IN 1..LENGTH(P_DATA) LOOP
       IF N <= P_N THEN   
         N := N + 1;
          V_OUTPUT := V_OUTPUT || V_DATA_CHARS(I);
       ELSE
         IF V_DATA_CHARS(I) = ' ' THEN
           V_OUTPUT := V_OUTPUT || '&lt;br&gt;';
           N := 1;
          ELSE
           N := N + 1;
           V_OUTPUT := V_OUTPUT || V_DATA_CHARS(I);
          END IF;    
       END IF; -- N <= P_N THEN   
      END LOOP;
      RETURN V_OUTPUT;
    ELSE
      RETURN P_DATA;
    END IF;
    SQL> SELECT BARAKAU.HTML_WRAP('WELCOME TO MY WORLD MY DEAR',5)
      2  FROM DUAL ;
    BARAKAU.HTML_WRAP('WELCOMETOMYWORLDMYDEAR',5)
    WELCOME&lt;br&gt;TO MY&lt;br&gt;WORLD&lt;br&gt;MY DEAR

  • Word wrap in RTF for an excel output : BIP 11g

    Hi,
    If we set the word wrap property in RTF and generate the output in Excel format, it doesnt reflect. However, PDF output reflects the difference.
    Looks like Excel overrides the property set in RTF. Is there anyway to text wrap a column for excel output?
    Thanks,
    Divya

    Sorry but this is a longstanding complaint.
    The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Word wrap last space to be blank

    hi prestnl in a notepad file output of report the word wrap is being done at positon 225 as the last field county is of three char but the valurs indatabase is two so the word wrp is done on position 225
    we need to display a blank space after "MY' in below eg ie the word wrap for notepad file shold display one blank space after MY
    pls sugges how to do
                                                         11900      Penang                                   MY

    hi,
    use like this.
    SHIFT ld_field LEFT DELETING LEADING SPACE.
    Regards
    Reshma

  • Review Area - Word Wrap

    My Review Area on my quiz Results slide is not word wrapping, am I missing a setting? - I'm on Captivate 5.5

    I don't remember in which version it was fixed, did log a bug report. It is OK in 7.
    Some call me the workaround queen : http://blog.lilybiri.com/customizing-review-messages-in-captivate-55-o
    Lilybiri

  • Word wrapping functionality in BEx 7.0

    Hi Experts,
    We are migrating BEx from 3x to 7.0 version. In the existing system, we have word wrapping functionality which is achieved by using
    CL_RSR_WWW_MODIFY_TABLE class. This class will become obsolete in the new version. We have found one interface (
    IF_BICS_CONS_WEBITEM_CUST_EXIT) in new version which will allow us to modify XML data, create HTML data,etc from report., But not sure how to achieve word wrapping functionality using this interface.
    Kindly let us know whether can we implement the word wrapping functionality use this interface or any other class/interface are available for the same?
    Looking forward for your valuable inputs.
    Appreciate your help in advance!!
    Regadrs,
    Priyaranjan

    Hi Priyaranjan,
    you need to use modules for that. The below link explains step by step a sample for word wrapping in an analysis item.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f7d724-c0f0-2d10-828f-be249d59b5c3?QuickLink=index&…
    Regards
    Yasemin...

  • Webforms - Wrap Text/Word Wrap for Column Headings

    I have some member aliases that are set as my webform's column headings, but they are fairly long. Setting the column width to a custom value that fits most of the text in the heading makes the form very wide and ugly to work with. I don't see any option to Wrap Text or use Word Wrap in the column headings. Is there any way to do this?
    Thanks!

    Hi,
    I am not aware of any option which allows you to wrap the text, it may be possible customizing the [CSS |http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/ch12s03.html] though to be honest I am not even sure about that and even if it was possible it would apply to all apps.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to word wrap within text field

    I've created a form with a text field but when filling the form out, the words don't word wrap, but merely go in a single line across the text box field. 
    When can I format the text box to word wrap?
    tks

    I have set my text fields to multi line and the text wraps but it only starts about halfway down the text box.  Please help, this is getting frustrating...

  • How can I turn off word wrap in the View Source output?

    I'm trying to extract HTML from Word and one way to do that is to save the Word file as a .htm file and then View Source in a browser and copy that. But the words are wrapped in the View Source file. I want each paragraph to be all on one line. Is there a setting for the View Source feature that will turn off word wrap?
    Once I have that done and copied into a plain text editor, I will use Search>Replace to get rid of all the stuff Word puts there and just end up with the simple paragraph tags at the end of each paragraph, all on one line.

    You can disable wrapping and syntax highlighting in the View menu in the Edit > View Source window.

  • Looking for a word processor without word wrap, text edit doesn't cut it

    I'm looking for a word processor without word wrap, text edit doesn't work. In text edit, it automatically scoots my text over to the next line but I just want it to keep going with a horizontal scrollbar. Is there a text editor I can download from the app store or can I get textedit to work somehow where it uses a horizontal scroll bar instead of entering text to the next line?

    Hi,
    thought TextWrangler can do it.
    But it seems that the 'no word-wrap' "feature" isn't that much wanted anymore.
    Maybe one of these http://www.macupdate.com/find/mac/text%20editor can do it.
    Regards
    Stefan

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • Word Wrap with a Vertical Grid

    I've got a vertical grid with my headers in the left column and descriptive text in the column immediately to the right.  I'd like to have the descriptive text word wrap but checking the word wrap box on the layout tab doesn't seem to have any effect.
    Any ideas?  I'm using 11.5 SP3

    I'm not sure if it will work with the iGrid in a vertical orientation, but have you tried setting the RowHeight to something like 20 or 30 instead of the default of 0?  This setting will auto adjust the grid lines based upon the font-size, but you may need to force it to a certain height in order for the wrapping to work.
    Regards,
    Jeremy

  • Word wrap with jLabel

    Is it possible to word-wrap text in a jLabel field? If not, what would be a good choice of component?

    displayArea.setLineWrap (true);
    displayArea.setWrapStyleWord (true);I thought it wasn't added automatic.
    Kind regards,
      Levi

Maybe you are looking for

  • How to get auto proxy configuration from plugin?

    I need to retrieve the name of the client's proxy server to pass it along to my signed applet (because it doesn't seem to be getting the information automatically despite the fact that the java plugin is set to the use the browser settings for proxie

  • Adding Crop Marks in CS4 with an Epson 3800

    I'm using CS4 with the Epson driver version 6.50. Is there a way to automatically add crop marks? Just seems that this *should* be a feature or an action. RON

  • ADDING TWO FIELDS TO MASTERDATA 0MAT_PLANT AND MAKE THEM AS INFO-OBJECTS.

    Hi Bw Experts, I have a Problem , I.e. How to add Two filelds i.e. reorderpoint and maximum stock level in Standard data source 0MAT_PLANT_ATTR for Master data 0MAT_PLANT. If Extract structure doesn’t contain these fields then I Can go for Data sourc

  • How to see undo information

    Hi. Oracle 9.2 o/S : Windows Xp, Sp1 I want to know that can a DBA check what information is presently stored in Undo Tablespace (Automatic Mode) or in Roll back Segment (Manual Mode). Pl. Tell Me. Thanks & Regardx

  • Displaying "Required Label with Help" icon dynamically

    Hi, I have an item say 'Dept Name', P1_DEPT_NAME This field is mandatory in case of CREATE and optional in case of UPDATE. - so in case of CREATE, I need to put the ICON (Required Label with Help) along with the Label 'Dept Name' - in case of UPDATE,