Replacing hyphen with line break

Hi,
In my application I want to replace the hyphen with line break
. I am using APEX4.0
I am using the following javascript code:
<html>
<script type="text/javascript">
function test()
var visitorName = "<br/>";
var myOldString = "&P2_SI.";
var myNewString = myOldString.replace(/-/g, visitorName);
</script>
</html>
I have no clue how to get it executed and make the javascript work.... can someone help?

My application is a online test.. One of the question in Page 3 is to re-arrange the sentence that is in the form of bullets. In the text area, as there are no formatting the candidate just gives hyphen - and enters all the sentences.. so in the DB the values are saved in the single line and when we evaluate the paper, it looks odd. So we want to replace the hyphen with the line break
, so that when evaluating the paper, the format looks good, enter of one sentence there will be a line break.
After the candidate is done with the Page 3, clickig next button, saves the values to the DB, and the page (branching) goes to Page 4 and clicking the Previous button takes the candidate to Page 2 (branching).
The Dynamic Action is created in the following order
-Advanced
-action name
-Event ->Change
Selection Type->Item(s)
Item(s)->P3_S2I
Condition-> No condition
-Action->Execute Javscriot code
Disabled Fire on Page Load (as the code should execure only after the candidate type something in P3_S2I text area or after the Next button is clicked.
Code:
<script type="text/javascript">
var special = "<br/>";
var myOldString = "&P3_S2I.";
var myNewString = myOldString.replace(/-/g, special);
document.write("<br /> " + myNewString);
</script>
-Selection Type -> Item(s)
Item - P3_S2I
-Click Create
This time I was taken to the next page.... but at the DB level hyphen is not replaced by the line break

Similar Messages

  • Re-post Replacing Hyphen with Line break

    Can someone please respond to the post: Replacing hyphen with line break
    Thanks.

    Please learn proper forum etiquette. Posts like this are (a) unnecessary and (b) actually quite annoying. At the very least, bump the original posting (but not, like, 30 minutes later because noone answered).

  • How to avoid starting a page with line breaks?

    Hello. I've just started to refine my Master's thesis and some of the topics moved up and down as I edited their contents. The problem is that in some cases the topic breaks right after the title, and the rest of the contents just move away to another page. Is there any way to avoid starting a page with line breaks or broken topics?

    At the end of your title, you didn't inserted a line break but a paragraph break (carriage return).
    Acivate the mode "Show hidden characters"
    Select the carriage return (paragraph break)
    Delete it
    Press Shift + return to insert a true line break.
    It may be useful to apply that several times if you inserted several carriage returns between the title and the first filled line.
    Yvan KOENIG (VALLAURIS, France) 15 mai 2011 19:40:14

  • Applescript batch convert .RTF to .TXT with line breaks

    Hey guys, looking for help with an Applescript that can change a .RTF to a .TXT with line breaks.
    I have an Applescript that will go from a .DOC to a plain .TXT but haven't found anything to get from the .RTF to a .TXT wth line breaks.
    I'm doing this for Avid's Script Sync.
    Thanks for the help.

    Ok, you obviously mean something specific by "line breaks" that you're not being clear about.  are you looking for a specific kind of line ending: Mac style carriage return (CR) ending? Windows style carriage return line feed (CR/LF) endings, unix style line feed (LF) endings?  textutil provides LF by default (it's a unix utility after all); if you need a different line ending you'll need to pipe it through tr or modify it via applescript after you've done the conversion

  • Applescript batch convert DOC to TXT with line breaks

    Hey guys, I recently got stuck at work having to convert over 1,000 DOC files to TXT files with line breaks.
    I've found online several different Applescripts that work great at converting DOC files to TXT files but I can't find one that will do the TXT files with line breaks.
    If anyone has a script that can do this I would be crazy grateful.
    Converting these one by one with Word is taking forever to do.
    Thanks for any help you can give me.

    Excuse me for a moment for speaking harshly to you.  You are causing yourself utterly unnecessary headaches by not being clear with us and not stopping to think, and it's high time you learned that that is an incorrect way to approach anything on a computer.  Consider:
    you don't know what you're doing (in the sense that you don't know what 'text with line breaks' means)
    you don't know (or at least haven't explained) why this needs to be done
    (therefore) you don't know if this needs to be done at all
    (and yet) you are doing it anyway, in a mindlessly repetitive fashion, driving yourself batty and irritating me
    At least for the time being, humans are the ones who think and computers the ones who grunt away mindlessly; try to reverse those roles and everything gets done badly and slowly. Stop, look, think, plan ahead - that's what your brain is good at if you give it a chance.
    Now, as far as I can tell from poking around the web, 'text only with line breaks' means that the document  is saved as a plain-text file, but with a carriage return linefeed combination (CR/LF) as a paragraph delimiter (this is a Windows format - unix uses a single linefeed, Macs might use a single carriage return or a single linefeed). I don't know why anyone would want that format - most software will convert that seamlessly (or at least can be told to convert that).  Are you trying to feed this into some dinosaur of a database?  At any rate, if that's what you want, this script should do it. caution, this script overwrites the original files; I suggest you make a copy of one or two files in a separate folder, and run the script on them first to check that the output works for whatever reason you're doing this:
    set baseFolder to choose folder with prompt "Choose a folder of files to process"
    tell application "Finder"
              set fileList to (every file of baseFolder whose name extension is "txt") as alias list
    end tell
    repeat with thisFile in fileList
              set itsText to read thisFile
              if (offset of (return & linefeed) in itsText) = 0 then
      -- file is not already formatted with CR/LF, so convert
                        set itsChunks to tid(itsText, {return, linefeed})
                        set itsNewText to tid(itsChunks, return & linefeed)
                        set fp to open for access thisFile with write permission
                        set eof of fp to 0
      write itsNewText to fp as text
      close access fp
              end if
    end repeat
    on tid(input, delim)
      -- handler for text items conversions
              set {oldTID, my text item delimiters} to {my text item delimiters, delim}
              if class of input is list then
                        set output to input as text
              else
                        set output to text items of input
              end if
              set my text item delimiters to oldTID
              return output
    end tid

  • Copy the contents of Jtabl with line breaks to Excel

    Hi every one,
    In my stand alone application,I am copying the contents of Jtable i.e contents having the line breaks(\n).
    While copying and pasting the contents to Jtable,instead of linebreaks, a square symbol is appearing in the excel along with the line break.line break functionality is happening,but the additional symbol(empty square box) is appearing.
    here is my code:
    S = (String) "\""+mProcessQuestionTestItemTable.getValueAt(rowsselected, colsselected[j])+"\""; S=S.replace("\r\n", "\n").replace("\n", "\r\n");
    stringbuffered.append(S);can anyone help me in this?
    thank you!!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    I want to copy the contents of Jtable(contents having Line breaks(\n)) and pasting to Excel.
    While pasting the contents to Excel, a box is appearing in the excel.
    To remove the empty square box, i tried the sample code:
    originalstr =(String)"\""+ mProcessQuestionTestItemTable.getValueAt(rowsselected, colsselected[j])+"\"";
    originalstr=originalstr.replace("\r\n", "\n").replace("\n", "\r\n");
    strngBuffere.append(S);
    There will be no box,If i copy the contents of Jtable and pasting in notepad.
    the box is appearing in Excel only.
    can you suggest something to solve this..
    Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Output with line breaks seemingly randomly placed

    Hola -
    I've adapted Tyler Muth's RSS feed article (http://tylermuth.wordpress.com/2008/01/22/producing-rss-from-plsql/) for the most part successfully; however, my output has breaks in the lines at inappropriate places, often in the mddle of an XML element tag for example. The placement of the breaks varies if I change the values of l_idx, l_len, l_defrows, l_maxrows, and l_desclen, but the breaks persist. They're not reflected in the code below but I've added the utl_file.fflush to no good effect.
    Examples of broken output:
    <pre>
    <title>Three
    prehistoric inventions that shaped us /</title>
    <guid
    isPermaLink="false">226402455778123622</guid>
    <pubDate>Thu, 04 Aug 2011 12:36:22
    EST</pubDate>
    <guid isPermaLink="fal
    se">220922455778123622</guid>
    <item
    >
    </pre>
    It's a lot of data so I won't post it here, but here's the code & the table; any ideas as to where to start investigating will be greatly appreciated.
    Code:
    create or replace
    PROCEDURE "RSSLOOP3" ( fund_in IN VARCHAR2, fund_in2 IN VARCHAR2 := 'XXX')
    is
    -- customizable parameters
    l_title varchar2(255) := ' New Titles Since ' || to_char(sysdate - 90, 'MM/DD/YYYY');
    l_link varchar2(255) := 'replace this' || fund_in || '.rss';
    l_description varchar2(255) := 'This is a feed of changes to items ' || fund_in;
    l_language varchar2(255) := 'en-us';
    -- end customizable parameters
    l_version varchar2(10) := '2.0';
    l_clob clob;
    l_idx pls_integer := 1;
    l_len pls_integer := 255;
    l_defrows pls_integer := 100;
    l_maxrows pls_integer := 100;
    l_desclen pls_integer := 250;
    -- for output to file
    fh UTL_FILE.FILE_TYPE;
    path VARCHAR2(30);
    filename VARCHAR2(30);
    begin
    path := '/http/live/screens/rss/';
    filename := fund_in || '.rss';
    fh := UTL_FILE.FOPEN(path, filename, 'w');
    for i in (
    select xmlelement( "rss",
    -- Begin XML Header Block
    xmlattributes( l_version as "version"),
    xmlelement( "channel",
    xmlforest( l_title as "title",
    l_link as "link",
    l_description as "description",
    l_language as "language"),
    -- End XML Header Block
    -- Begin List of Individual Articles or Items
    xmlagg(
    xmlelement( "item",
    xmlelement("title", x.title),
    xmlelement("link", x.link),
    xmlelement("description", convert(x.description, 'UTF8', 'AL32UTF8')),
    xmlelement("callnum", x.callnum),
    xmlelement("pubDate", to_char(x.updated_on,'Dy, DD Mon RRRR hh24:mi:ss')),
    xmlelement("guid", XMLATTRIBUTES('false' as "isPermaLink"),x.id||to_char(x.updated_on,'JHH24MISS'))
    -- End List of Individual Articles or Items
    ) as result
    from ( -- Actual Database Query that populates the list of Items
    select id,title,link,description,updated_on, callnum
    from drx_rss_feeds
    where (fund like fund_in||'%')
    and rownum < (l_maxrows+1)) x)
    loop
    l_clob := xmltype.extract(i.result,'/').getclobval;
    exit;
    end loop; --i
    --- OUTPUT RESULTS
    for i in 1..ceil(dbms_lob.getlength(l_clob)/l_len) loop
    UTL_FILE.PUT_LINE(fh,(substr(l_clob,l_idx,l_len)));
    l_idx := l_idx + l_len;
    end loop; --i
    UTL_FILE.FCLOSE(fh);
    end rssloop3;
    Table:
    CREATE TABLE "DRX_RSS_FEEDS"
    "ID" VARCHAR2(32 BYTE),
    "TITLE" VARCHAR2(255 BYTE),
    "DESCRIPTION" VARCHAR2(4000 BYTE),
    "LINK" VARCHAR2(1000 BYTE),
    "AUTHOR" VARCHAR2(255 BYTE),
    "UPDATED_ON" DATE,
    "CALLNUM" VARCHAR2(255 BYTE),
    "FUND" VARCHAR2(10 BYTE)
    )

    Or have a look at the Oracle Documentation, for instance at the parameters for utl_file.fopen
    max_linesize Maximum number of characters for each line, including the
    newline character, for this file (minimum value 1, maximum
    value 32767). If unspecified, Oracle supplies a default value of
    1024.It wouldn't surprise me if your randomly placed line breaks are all 1023 characters a part.
    Anton

  • Help Needed - replacing space with non-breaking space on the fly

    Hi,
    I have a text field I'm trying to fiddle the input on. Basically I want to replace all spaces (ascii code 32) with non-breaking spaces (ascii code 160) as they are typed.
    It seemed as though a KeyListener was the way to go, and I've successfully detected whenever a space is sent. I can consume() that KeyEvent, or setKeyChar to change it to another key. But I cannot see how to change it to a non-keyboard character.
    Any suggestions?

    i think you can do smt likeDocument doc = mySwingTextComponent.getDocument();
    doc.setDocumentFilter(new MyDocumentFilter());
    class MyDocumentFilter extends DocumentFilter {
       public void remove(DocumentFilter.FilterBypass fb, int offset, int length) throws BadLocationException {
          fb.remove(offset,length);
       public void insertString(DocumentFilter.FilterBypass fb, int offset, String string, AttributeSet attr) throws BadLocationException {
          replace(fb,offset,0,string,attr);
       public void replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs) throws BadLocationException {
          text.replaceAll("SPACE","NB WHITE SPACE");
    }asjf
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/DocumentFilter.html

  • Reg Exp help needed (trouble with line breaks)

    Hello,
    I am attempting to parse a line of text with regular expressions. I am having difficulty with the line breaks.
    I want to divide the following line by the first '\n' char.
    For instance, I wan the output to be as follows:
    found 1: one
    found 2: ddd
    dddHowever, I get the following with my attached code:
    found 1: one
    found 2: dddHowever, the second line break seems to be the end of the second group.
    How do I get the any character '.' to read past any subsequent line breaks?
    import java.util.regex.*;
    public class Test
         String rawSequenceArg = ">one\nddd\nddd";     
           Pattern p = Pattern.compile(">([^\n]+)\n(.+)");
           Matcher m = p.matcher(rawSequenceArg);
           if(m.find())
                System.out.println("found 1: " + m.group(1));
                System.out.println("found 2: " + m.group(2));
    }

    In this case, the DOTALL flag is the one you need; it allows the dot (period, full stop) to match line separator characters. MULTILINE makes the '^' and '$' anchors match the beginning and end of logical lines, instead of just the beginning and end of the input.

  • WRITE string with line break inside string.

    I would like to add a line break into a string that I want to write with the WRITE statement, but without using SKIP or NEWLINE or WRITE: \.
    CONCATENATE 'part1'
                ?the_line_break?
                'part2'
      INTO lv_string.
    WRITE lv_string.
    Any idea?

    Interesting requirement..
    WRITE statement does not interpret OS line break codes.
    You've to program to induce line break, try the following example code.
    data: lv_string(20),
          lv_off type i.
    concatenate 'part1'
                '~'
                'part2'
      into lv_string.
    search lv_string for '~'.
    lv_off = sy-fdpos + 1.
    write: at 1(sy-linsz) lv_string0(sy-fdpos), lv_stringlv_off.
    Regards
    Sridhar

  • Printing with line breaks

    Hi,
    I am using the following code to print some text from a text file.
    import java.awt.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import java.awt.print.*;
    import java.io.BufferedReader;
    import java.io.DataInputStream;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import java.text.*;
    public class Print implements Printable {
    private static final String mText = "";
    private static AttributedString mStyledText = new AttributedString(mText);
        static public void main() {
            String toPrint = "";
            try {
                FileInputStream fstream = new FileInputStream("/Library/iDemo/print.txt");
                DataInputStream in = new DataInputStream(fstream);
                BufferedReader br = new BufferedReader(new InputStreamReader(in));
                String strLine;
                while ((strLine = br.readLine()) != null) {
                    toPrint = toPrint + System.getProperty("line.separator") + strLine;
                in.close();
            } catch (Exception e)
                System.err.println("Error: " + e.getMessage());
            mStyledText = new AttributedString(toPrint);
            PrinterJob printerJob = PrinterJob.getPrinterJob();
    Book book = new Book();
    book.append(new Print(), new PageFormat());
    printerJob.setPageable(book);
    boolean doPrint = printerJob.printDialog();
    if (doPrint) {
    try {
    printerJob.print();
    } catch (PrinterException exception) {
    System.err.println("Printing error: " + exception);
    public int print(Graphics g, PageFormat format, int pageIndex)
    Graphics2D g2d = (Graphics2D) g;
    g2d.translate(format.getImageableX(), format.getImageableY());
    g2d.setPaint(Color.black);
            Point2D.Float pen = new Point2D.Float();
            AttributedCharacterIterator charIterator = mStyledText.getIterator();
            LineBreakMeasurer measurer = new LineBreakMeasurer(charIterator, g2d.getFontRenderContext());
            float wrappingWidth = (float) format.getImageableWidth();
            while (measurer.getPosition() < charIterator.getEndIndex())
                TextLayout layout = measurer.nextLayout(wrappingWidth);
                pen.y += layout.getAscent();
                float dx = layout.isLeftToRight() ? 0 : (wrappingWidth - layout.getAdvance());
                layout.draw(g2d, pen.x + dx, pen.y);
                pen.y += layout.getDescent() + layout.getLeading();
            return Printable.PAGE_EXISTS;
    }The problem I am having is that it removes the line breaks when printing. I have checked the file I am reading from and that has the line breaks. How can I get it to include the line breaks?
    Thanks

    The problem is that once it prints all this the line break is gone.
    Up until the following code the line breaks are fine. However, the printed document I'm getting has no line breaks at all.
    mStyledText = new AttributedString(toPrint);
            PrinterJob printerJob = PrinterJob.getPrinterJob();
    Book book = new Book();
    book.append(new Print(), new PageFormat());
    printerJob.setPageable(book);
    boolean doPrint = printerJob.printDialog();
    if (doPrint) {
    try {
    printerJob.print();
    } catch (PrinterException exception) {
    System.err.println("Printing error: " + exception);
    public int print(Graphics g, PageFormat format, int pageIndex)
    Graphics2D g2d = (Graphics2D) g;
    g2d.translate(format.getImageableX(), format.getImageableY());
    g2d.setPaint(Color.black);
            Point2D.Float pen = new Point2D.Float();
            AttributedCharacterIterator charIterator = mStyledText.getIterator();
            LineBreakMeasurer measurer = new LineBreakMeasurer(charIterator, g2d.getFontRenderContext());
            float wrappingWidth = (float) format.getImageableWidth();
            while (measurer.getPosition() < charIterator.getEndIndex())
                TextLayout layout = measurer.nextLayout(wrappingWidth);
                pen.y += layout.getAscent();
                float dx = layout.isLeftToRight() ? 0 : (wrappingWidth - layout.getAdvance());
                layout.draw(g2d, pen.x + dx, pen.y);
                pen.y += layout.getDescent() + layout.getLeading();
            return Printable.PAGE_EXISTS;
    }

  • Is it possible generate file with line break without add one character?

    Hi all,
    my problem is when i generate a file .txt from ABAP as below:
    "===>start of code<===
    REPORT  zteste_bm.
    TYPES: BEGIN OF ty_line,
             v_char(100) TYPE c,
           END OF ty_line.
    DATA: v_it_final type table of ty_line with header line,
          wa_line type ty_line.
    wa_line-v_char = 'line 1 with 24 positions#line 2 with 24 positions#line 3 with 24 positions'.
    REPLACE ALL OCCURRENCES OF '#' IN wa_line-v_char WITH cl_abap_char_utilities=>cr_lf.
    APPEND wa_line to v_it_final.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename = 'c:     emp     este.txt'
        filetype = 'ASC'
      TABLES
        data_tab = v_it_final.
    "===>end of code<===
    When i go to the file .txt it contains:
    line 1 with 24 positions
    line 2 with 24 positions
    line 3 with 24 positions
    and at the end of each line have a charactere in position 25 that represent CRLF (break line).
    My problem is that character 25. I don´t have it in the file .txt.
    Is it possible in ABAP use CRLF to generate the file .txt but remove them after generated? 
    Thanks!

    Bruno,
    Check the paramteres of GUI_DOWNLOAD FM and observe how the text file is when you set or reset the hightlighted input paramters.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *   bin_filesize                    =
      filename                        = g_dskpath
    *   filetype                        = 'asc'
    *   append                          = ' '
    *   write_field_separator           = ' '
    *   header                          = '00'
    *   trunc_trailing_blanks           = ' '
      **write_lf                        = 'X'**
    *  col_select                      = ' '
    *   col_select_mask                 = ' '
    *   dat_mode                        = ' '
    *   confirm_overwrite               = ' '
    *   no_auth_check                   = ' '
    *   codepage                        = ' '
    *   ignore_cerr                     = abap_true
    *   replacement                     = '#'
    *   write_bom                       = ' '
      *trunc_trailing_blanks_eol       = 'X' " X will delete the trailing spaces*
    *   wk1_n_format                    = ' '
    *   wk1_n_size                      = ' '
    *   wk1_t_format                    = ' '
    *   wk1_t_size                      = ' '
    * importing
    *   filelength                      =
    TABLES
          data_tab                    = g_t_temp1[]
    *   fieldnames                      =
    EXCEPTIONS
    file_write_error                = 1
    no_batch                        = 2
    gui_refuse_filetransfer         = 3
    invalid_type                    = 4
    no_authority                    = 5
    unknown_error                   = 6
    header_not_allowed              = 7
    separator_not_allowed           = 8
    filesize_not_allowed            = 9
    header_too_long                 = 10
    dp_error_create                 = 11
    dp_error_send                   = 12
    dp_error_write                  = 13
    unknown_dp_error                = 14
    access_denied                   = 15
    dp_out_of_memory                = 16
    disk_full                       = 17
    dp_timeout                      = 18
    file_not_found                  = 19
    dataprovider_exception          = 20
    control_flush_error             = 21
    OTHERS                          = 22
    if sy-subrc <> 0.
    endif.

  • Extended Find/Extended Replace Not Catching Line Breaks

    I need to do a massive find and replace to change a block of
    code that's in hundreds of files.
    I attempted to use Extended Replace like so:
    Find what:
    old code line 1
    old code line 2
    etc.
    Replace with:
    new code line 1
    new code line 2
    etc.
    I picked the right folder, all the boxes on the right are
    unchecked, and I copied the old code directly from one of the files
    it was in. So why isn't it finding the code block? It only seems
    able to detect one line at a time, but what's the point of having a
    massive find and replace that only works one line at a time?

    I remember running into this kind of trouble. It had to do
    with encoding. What if you simply perform an extended search ?
    My guess is that the string you are searching does not have
    the same encoding as the files you are searching (a bit like
    searching "line1 & vbcrlf" while files only contain "line1
    & vblf".
    I suggest the search string is copied from a file, or even
    better, you select the string you want to search for then simply
    click the search/replace button : the search field will already be
    populated. Can you at least find the search string in the file it
    comes from ?
    Let us know

  • Form with line break

    Hi,
    I have a form with that has many fields. I have grouped them into sections by using the 'new line' and 'new field' options.
    Is there any way to add a space between the groups without having to put a hidden text box?
    Thanks

    Where do you put the "new line" and "new field options"? See How Item Attributes Affect Page Layout.
    For future reference, please do not post new questions as follow-ups to answered threads. Doing so means: other users may ignore the thread as it appears to be closed; the assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions; watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum ("user12970007" whom you have replied to shows no activity in 10 months); you have no ability to mark posts as helpful or correct.
    Post your question as a new thread, including the following information:
    - APEX version
    - DB version and edition
    - Web server architecture (EPG, OHS or APEX listener)
    - Browser(s) used
    - Theme
    - Templates
    - Region type
    If you think your question is related to other posts and threads, link to them using the methods in the FAQ.

  • Make file names show in full with line breaks. How?

    I use column view in Finder. When file names are long, they're truncated in the middle, with dots. If I have several, similar file names, it's a pita to find right file. Either, I have to expand the column, or click the file to see the full name, or change view to e.g. one column view. To me, this is a major bummer.
    I'd like to have long file name continue in another line, like on the desktop (but not limited to two lines).
    Anyone knows a hack for this or some other way to achieve it?
    Cheers,
    Dan

    I use column view in Finder. When file names are long, they're truncated in the middle, with dots. If I have several, similar file names, it's a pita to find right file. Either, I have to expand the column, or click the file to see the full name, or change view to e.g. one column view. To me, this is a major bummer.
    I'd like to have long file name continue in another line, like on the desktop (but not limited to two lines).
    Anyone knows a hack for this or some other way to achieve it?
    Cheers,
    Dan

Maybe you are looking for