Dashes convert to single line

Hello,
On my iMac OS X 10.9.4, i am unable to create in TextEdit or Pages guitar tabs in the Courier font, like i did for years, by simply keeping my finger pressed on the dash key: all my dashes attach themselves together to form a continuous line as soon as i release the key! This behavior occurs in other typefaces—and in TextEdit in Plain Text as in Rich Text mode.
This has never happened to me before—i may have some settings or preferences off somewhere, but i have not been able to sort my problem out from my System Preferences. As i have also Kotoeri, i tried out switching to the Romaji mode: same result. i even opened old tabs and copied-pasted the original tabs, but as soon as i start inserting more dashes, they turn into a single line too.
I will be grateful to any fellow guitarist who will provide me with the solution, as i am clearly over my head with this! Thank you in advance.

In Oracle 9 you can get rid of the regex functions and use traditional SUBSTR, INSTR and REPLACE:
ABSOLUTELY NOT TESTED...
SELECT col1,SUBSTR ( ','||col2||',', instr(','||col2||',',',',lvl)+1,instr(','||col2||',',',',lvl+1)-instr(','||col2||',',',',lvl)-1)
  FROM table_name,
       (SELECT LEVEL lvl
          FROM (SELECT MAX (LENGTH (REPLACE ( col2, ',',''))) mx
                  FROM table_name)
        CONNECT BY LEVEL <= mx + 1)
WHERE lvl - 1 <= LENGTH (REPLACE ( col2, ',',''));Max

Similar Messages

  • Converting a single line in Input file

    Hi Experts,
    I tried searching the blogs and wiki in sdn. but couldnt able to find out.
    Can anyone help in providing the blog for converting the input xml file which is provided only in one line.
    and the output has to be according to the xml format ( every tag in different line ).
    Thanks in advance
    Divya

    Hi Experts,
    I tried searching the blogs and wiki in sdn. but couldnt able to find out.
    Can anyone help in providing the blog for converting the input xml file which is provided only in one line.
    and the output has to be according to the xml format ( every tag in different line ).
    Thanks in advance
    Divya

  • Single line of text/email id to People or Group column

    I have a list of employee details, along with their SharePoint email ID. I want to import this list along with a new People or Group column, where it reads the email id and picks the correct user from Active Directory. How to import this?

    Hi Abul,
    Based on your description, I did a test. When I used users' email address in excel table and imported it to SharePoint list, the column would be saved as Hyperlink or Picture type. If I used Domain\User, after importing it to SharePoint list, the column
    would be saved as Single line of text type.
    It seems that it only is converted into Single line of text or Hyperlink type when you import a table into SharePoint list, by default. There is not a way to convert the table column in excel file into People column in SharePoint list.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • It's simple... I want the Illustrator pen tool to ALWAYS make corner annchor points and NEVER smooth.  Right now I have to convert every single one of them, or I have to do a work around every time I draw a line and make one of the handles disappear.  Is

    It's simple... I want the Illustrator pen tool to ALWAYS make corner annchor points and NEVER smooth.  Right now I have to convert every single one of them, or I have to do a work around every time I draw a line and make one of the handles disappear.  Is there some simple setting out there that will just "make it so?"@

    The video I am watching this guy is just dragging every line to make curves.  And every anchor point is a corner.  He is not switching back and forth between the pen and the anchor points tool, and he is not using the convert points tool.  He draws a curved line and starts another straight line only to curve it with a click and a drag.  It is super efficient, and I could save a world of time if I could figure out what he is doing.

  • Converting multiline text string to single line

    How do I convert a multiline text string into a single line text string

    Hi Bart,
    what's a multiline text string?
    1) You have an array of string: simply use "string concatenate" to convert from array to scalar string.
    2) Your string contains CR and/or NL characters: use "Search/Replace..." for this string, replace all EndOfLine chars by space (or which char you may prefer)...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Help me in Converting textarea msg to single line string

    Please help me in converting the textarea message with line breaks in to single line string. because i shud pass that to the Javascript which doesnot accept line breaks.
    <%
    StringBuffer text = new StringBuffer(request.getParameter("textarea1"));
    int loc = (new String(text)).indexOf('\n');
    while(loc > 0){
    text.replace(loc, loc+1, "<BR>");
    loc = (new String(text)).indexOf('\n');
    out.println(text);
    %>

    Hi,
    i did not understood your problem. javascript supports \n character processing. so you should not get any error. Do one thing write a javascript function, that replaces all \n with "". this will solve your problem
    funciton replaceNewLine(StringValue) {
    StringValue.replace('\n','') (check replace() syntax once)
    have fun!!
    raj

  • Converting strings with line feeds to a single line with identifying chars

    Hi, I dont want to re invent the wheel if there is something out there that does this already. I want to take some string with multiple
    line feeds and convert it to a single line. For example:
    "I want this string
    to be changed to
    a single line"
    to this...
    "I want this string\r\n to be changed tor\\n a single line"

    vsekvsek wrote:
    OK, Hope this will make better sense. So right now a I have a routine that loads files like below:
    "TEST\r\n TEST1\R\n TEST2"It's not clear to me at this point what you mean by that string.
    After the initial word TEST, does that string have a backslash character followed by an r followed by another backslash followed by an n? Or does it have a carriage return followed by a line feed. (\r followed by \n)
    We format it when loading in a way that it will look like this when queriing from the DB
    "TEST
    TEST1
    TEST2"It doesn't look like anything "when querying from the DB." That part doesn't make any sense.
    Either the string has a backslash followed by an r, in which case when you render in in a text editor or on a console it will look like a single line with a visible backslash character followed by an r, or it has a carriage return (\r) in which case it will look like multiple lines when rendered in a text editor or on a console.
    Later I re-extract it to a file from the DB and What confuses me is when I inspect the string it looks like this
    "TEST\r\n TEST1\R\n TEST2"How are you inspecting it? If it's in a debugger or similar tool, it's not uncommon for it to be showing a carriage return character (\r) as a visible backslash followed by an r, rather than interpreting it and rendering a new line. This is so that you can see exactly what characters are in there, rather than wondering about the specific whitespace.
    >
    but it extracts to my file like
    "TEST
    TEST1
    TEST2"
    So I guess there are some hidden cr's or something messing it up that I need to manipulate but not sure how to apprach it?I still don't know what you're trying to do, or if you even have an actual problem with your data or are simply not understanding what you're seeing.

  • Converted single line text to multiple and want to have rich text editing in layout

    We had a text field in a site that was initially set as single line of text. We needed it to be bigger and also allow formatting. So I added the field into the page layout.
    Changing
    <SharePointWebControls:TextField id="habitat" FieldName="Habitat" runat="server"/>
    to
    <SharePointWebControls:NoteField id="habitat" FieldName="Habitat" runat="server"/>
    But it doesn't show any rich text editing options and displays the full html tags in the field.
    If I open the page in the edit properties screen instead, then the field displays as I want it with the rich text editing options available in the ribbon, and text showing as bolded instead of like this:
    <div>This is <strong>the </strong>habitat field.</div>
    This is a site using the 2010 Publishing template running in compatibility mode on a 2013 server.
    How can I get my page layout to behave the same way as the edit properties screen does?

    Hi,
    Here are two solutions for your reference:
    1. We can use the InputFormTextBox control to achieve it.
    <SharePoint:InputFormTextBox ID="habitat" RichText="true" RichTextMode="FullHtml" runat="server" TextMode="MultiLine" Rows="20"></SharePoint:InputFormTextBox>
    http://blog.qumsieh.ca/2009/01/13/how-to-add-a-rich-text-editor-to-your-custom-application-pages-or-web-parts/
    http://blog.mastykarz.nl/rich-text-editor-control-sharepoint-2010/
    2. We can use the RichHtmlField control to achieve it.
    <PublishingWebControls:RichHtmlField id="habitat" FieldName="Habitat" runat="server"/>
    http://msdn.microsoft.com/en-us/library/office/ms561507(v=office.14).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Convert multiple lines for same material into a single line in Sales Order

    Our company has a requirement, they want if there are multiple lines exist for the same material in sales order and purchase order then it should become like one single line.
    10    35712  5pcs
    20   100885  10 pcs
    30   35712   10pcs
    Now our requirement is that should  become a single line like this
    10  35712  15pcs.
    I will   Text Removed.
    Regards,
    Khawar
    Message was edited by: G Lakshmipathi
    Please dont add such text in your post

    Now our requirement is that should  become a single line like this
    Where?  Meanwhile, I hope, you would have searched in SCN / Google before posting as it is a basic question and needs to be locked.  If searched, specify clearly what efforts you took to find out solution to your requirement.
    G. Lakshmipathi

  • MessageTransformBean - SimplePlain2XML - Multiple records on a single line

    Hi,
    I am trying to convert multiple record from a single line to multipe rows in an XML message with the MessageTransformBean.
    If the record look like this it's working:
    RECORD1textETC
    RECORD2textETC
    But the incoming message are all on a single line:
    RECORD1textETCRECORD2textETC
    Is there a way to add a linefeed to my incoming message after X characters, or to tell the adapter to split by length instead of spliting on the end of line?
    Thanks,
    Martin

    I had to code a custom Module Adapter to do it.
    Here's the main part of the module adapter EOLConvertBean...
    Message msg = (Message) inputModuleData.getPrincipalData();
    XMLPayload xmlpayload = msg.getDocument();
    byte[] content = xmlpayload.getContent();
    byte crlf = 0x0A; // end of line char
    int current = 0;  // current bytes read     
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    int lines = content.length / recordLen; // record len = insert EOL after X recordLen
    // TODO change for do while for 1x line record
    for (int i = 0; i <= lines; i++) {
         baos.write(content, current, recordLen);
         baos.write(crlf);
         current += recordLen;
    xmlpayload.setContent(baos.toByteArray());
    inputModuleData.setPrincipalData(msg);
    Edited by: Martin Lavoie Rousseau on Oct 6, 2010 9:08 PM

  • Single Line Report issues

    Hi, folks.
    I have a table of employees and a table of certifications. An employee may have 0-15 certifications (and dates completed).
    I'm trying to generate a single line report like this:
    NAME - CPR DATE - FIRST AID DATE - Etc
    I've made an evaluation formula:
    If {Cert_Table.Type} = "CPR" then {Cert_Table.Date}
    This works brilliantly...as long as CPR is the first record that matches the employee ID. If it is the second, it leaves the field erroneously blank.
    I know the ideal way to show this would be a list, but the boss wants a single-line representation of the key certification dates.
    How do I get crystal to report back the CPR date regardless of which order it appears?
    Thanks in advance!

    Hi, 
    There are a couple of ways you can do this.  Following your train of thought, you can build the string like: 
    Create a Group on Employee. 
    In the Group Header create a formula like: 
    WhilePrintingRecords;
    StringVar Certifications := "";
    In the Detail section create a formula like: 
    WhilePrintingRecords;
    StringVar Certifications;
    Certifications := Certifications += {Cert_Table.Date} & " - ";
    In this formula, if your Date field is an actual date type then you will need to use the ToString function to convert it to a string or you will get an error. 
    In the Group Footer create a final formula like: 
    WhilePrintingRecords;
    StringVar Certifications;
    The first two formulas you can format to Suppress so you don't see them. 
    Good luck,
    Brian

  • PBDOM : Exporting to XML file gives a single line

    I've been starting developing with PowerBuilder 12.5 a few weeks ago. I had to write some XML files, so I got familiar with the PBDOM library.
    I can build a lot of different things, it's very nice, but one thing still bothers me :
    In the output file, the whole XML is written on a single line.
    I use the SaveDocument function.
    For example, here is some code :
    PBDOM_Document doc
    PBDOM_Element noderoot, node1, node11, node12
    doc = CREATE PBDOM_Document
    doc.NewDocument("NodeRoot")
    noderoot = doc.GetRootElement()
    node1 = CREATE PBDOM_Element
    node1.SetName("Node1")
    noderoot.AddContent(node1)
    node1.SetAttribute("Attr", "AttrValue")
    node11 = CREATE PBDOM_Element
    node11.SetName("Node11")
    node11.AddContent("Here is a value")
    node1.AddContent(node11)
    node12 = CREATE PBDOM_ELEMENT
    node12.SetName("Node12")
    node12.AddContent("Here is another value")
    node1.AddContent(node12)
    doc.SaveDocument("myDoc.xml")
    Here is the result when I open it with notepad++
    <NodeRoot><Node1 Attr="AttrValue"><Node11>Here is a value</Node11><Node12>Here is another value</Node12></Node1></NodeRoot>
    Whereas I wanted :
    <NodeRoot> <Node1 Attr="AttrValue"> <Node11>Here is a value</Node11> <Node12>Here is another value</Node12> </Node1> </NodeRoot>
    With the notepad++ XML tools plugin, I can use the "pretty print" function to get this nice representation. But I would like my file to be formatted this way from the beginning. I noticed that the "line ending" was set to UNIX format (indicator on bottom right of the window), but I'm working on Windows. When I use the menu to convert it to Windows format (CR+LF), it changes this indicator, but the code stays on one single line.
    Is there a way to tell PBDOM to export the XML file with a nice output ?
    Thank you !
    Notes :
    - Opening the XML file with Internet Explorer or Google Chrome gives me a nice vizualisation, with indentation, line breaks...
    - Adding a <?xml version="1.0" encoding="ISO-8859-1" ?> does not help (I've been doing it while exporting some more complex files, but I still get the output on one line...)

    Here is a very simple powerbuilder example. It uses MSXML instead of PBDOM. See my comments for hints how to use it with PBDOM.
    oleobject lole_dom, lole_root, lole_element1, lole_element11, lole_element12
    oleobject lole_Writer, lole_saxreader
    string ls_result
    // build DOM (you don't need this if you use PBDOM)
    lole_dom = create oleobject
    lole_dom.ConnectToNewObject ("Msxml2.DOMDocument")
    lole_root = lole_dom.CreateElement ("NodeRoot")
    lole_dom.documentElement = lole_root
    lole_element1 = lole_dom.CreateElement("Node1")
    lole_root.AppendChild(lole_element1)
    lole_element1.SetAttribute("Attr", "AttrValue")
    lole_element11 = lole_dom.CreateElement("Node11")
    lole_element11.AppendChild (lole_dom.CreateTextNode("Here is a value"))
    lole_element1.AppendChild(lole_element11)
    lole_element12 = lole_dom.CreateElement("Node12")
    lole_element12.AppendChild (lole_dom.CreateTextNode("Here is another value"))
    lole_element1.AppendChild(lole_element12)
    // this saves the DOM without formatting
    //lole_dom.save ("d:\testxml.xml")
    // this part is for formating
    lole_Writer = create oleobject
    lole_saxreader = create oleobject
    lole_Writer.ConnectToNewObject ("MSXML2.MXXMLWriter")
    lole_saxreader.ConnectToNewObject ("MSXML2.SAXXMLReader")
    lole_Writer.omitXMLDeclaration = True
    lole_Writer.indent = True
    lole_saxreader.contentHandler = lole_Writer
    // instead of DOM you can also put a XML string to parser: lole_saxreader.parse ("<node>...</node>")
    // so you can also use the PBDOM output directly
    lole_saxreader.parse (lole_dom)
    // here is your formatted output
    ls_Result = lole_Writer.output
    MessageBox ("", ls_result)
    lole_writer.Disconnectobject( )
    lole_saxreader.Disconnectobject( )
    lole_dom.Disconnectobject( )
    DESTROY lole_writer
    DESTROY lole_saxreader
    DESTROY lole_dom

  • Single Line $45. plan--gone as of March 13th

    Looks like it was too good to be true. A smartphone line that had unlimited talk&text plus 250mb of data for very light users. Its been taken off the website,
    as of 3/13. Now, you can only get the $60 1gb single line or new $75. 2gb single line. Both have unlimited talk&text. Low use customers have just lost that
    option, unless the company brings it back. I hope they do. I missed it by one day.

    Typical of Verizon.  A Byzantine price structure so complicated that even Verizon reps don't understand it, then Verizon refuses to honor misstatements made by their reps.  I had three different issues trying to upgrade my lines and convert from a grandfathered family plan.  Each time I got a different story, each time the next rep refused (or was unable) to honor the offer/information provided by the previous rep.  Was told VZW would honor a sale on the Note 3 if I waited until a number port was complete, then they wouldn't (ironically I went to Best Buy and got the same deal, then Verizon reoffered the deal after I purchased from BB- too little too late), was told my employer discount would apply to the $45 250 MB plan, then after I selected that plan was told it wouldn't, was told I could switch between 250mb and 1 gb plan as needed when I traveled, well, the 250mb plan is already gone so that was wrong too. 
    I've been with Verizon for over 10 years as a customer and actually sold Verizon cell phones in my electronics store before that.  VZW is rapidly overtaking Xfinity for worst customer service in the tech industry for the same reason- pricing and policies so confusing and misleading they couldn't honor them if they wanted to.  And they obviously don't want to.

  • How to add form values into a single line...

    How can we add numerous form values (say surname, first name and middle initial) into a single line? thanks in advance^^  

    You can use the "+" operator which is both the addition (number) and concatenation (string) operator. JavaScript makes the decision about how this operator will work by the type of the value of being processed. Two numbers JavaScript performs addition, character string and number, number and character string, or 2 character strings then concatenation.
    If you just use the '+' operator and spaces, you will get extra spaces unless you add code to allow for null fields and adjusting the spacing or other punctuation as needed. You may also need to force numeric values to character stings or you might end up with an addition and not concatenation.
    Adobe provided a example of a funciton to properly join 3 fields with full versions of Acrobat:
    function fillin(s1, s2, s3, sep) {
      // Concatenate 3 strings with separators where needed
      // convert passed strings to a string value
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      // assign a numeric value for presence of a given string(s)
      var test = 0; // no passed strings
      if (s1 != "") test += 1; // s1 has a value
      if (s2 != "") test += 2; // s2 has a value
      if (s3 != "") test += 4; // s3 has a value
      // return appropriate combination based on passed strings
      if (test == 0) return ""; // no stings passed
      if (test == 1) return s1; // s1 only
      if (test == 2) return s2; // s2 only
      if (test == 3) return s1 + sep + s2; // s1 and s2
      if (test == 4) return s3; // s3 only
      if (test == 5) return s1 + sep + s3; // s1 and s3
      if (test == 6) return s2 + sep + s3; // s2 and s3
      if (test == 7) return s1 + sep + s2 + sep + s3; // s1, s2, and s3

  • ICal only displays a single line for entries in month view.

    This means I can't see what my diary entries refer to.  Can I change it to show two lines or the full entry, as iCal did in Snow Leopard?

    Hi Guys, thanks for getting back to me.
    the problem is purely about design view display and not about coding.
    Below is how CS4 displays borders with two lines which I find difficult to decipher:
    Then below is Macromedia DM 8 and this how I want the borders to look, with single lines to display the tables.
    This may just be the way Abobe have decided to display tables in design view and there may not be any option to change it but if you know any way to change it I would be most greatful.
    Thanks again.
    G

Maybe you are looking for

  • Give me a way to count the number of entries in a  Database Table

    Hello All, I am writing a code to determine the number of  entries in a SAP/Custom table. Can you please suggest a proper approach and a good query. Thanks in advance.

  • Variable substitution characters in sqlplus

    The question mark character - "?" is the substitution for ORACLE_HOME in sqlplus. What is the substitution character for ORACLE_SID? Are there any other characters that can be used? Where I can read about it? Leonid

  • Editing PDFs in Preview

    I'm pretty sure that Preview doesn't enable one to actually edit a PDF, but I did fill out a PDF form using Preview.  I'm able to see those changes in Preview when I open it, but not in any other PDF reader I've tried.  Is there any way to see those

  • File sharing with Mac os 10.5.8 and Windows XP

    Can someone help me share files from my Powerbook G4 to my Windows XP desktop?

  • Dreamweaver cs6 doesn't start

    hi, after installing dreamweaver cs6 form creative cloud test version i tried to start the programm. After a few seconds and a bumping icon in the dock (no splash screen), the icon disappered. and that was all. no dreamweaver. I already re-installed