remove the line spacing of a string

In the attached VI, I expected my output to a long chain, but instead, it's a chain with what looks like inserted line breaks. This is my output looks like:

xx xx xx xx xx xx xx xx

xx xx xx xx xx xx xx xx

xx xx xx xx xx xx xx xx

and what I want is:

xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx

Is there an easy way to remove the line breaks?

Thank you

Advertisement

Just do a "find and replace String" with LF as search string, empty string (or probably a space if necessary) as string to replace and replace all instances set to true.

Hope this helps

Tags: NI Software

Similar Questions

  • How can I change the line spacing?

    I looked everywhere to find how I can change the line spacing in my e-mail address when sending. Can't find any dishes. CAM help me?

    The answer is probably some handmade css coding which is not a trivial thing to do.

    Why you want to change the line spacing? A larger or smaller font would be useful for you?

  • Manage the line spacing in Outlook Express 6 to compose messages

    Line spacing in Outlook Express 6 seems to be "unmanageable" when including the text of the answer from someone else. Here is the situation - I type a message, and I copy and paste a section of a previous message that someone else wrote.

    My messages have single spacing, but the other message has double-spaced. Everything I type after copy/paste requires spacing of this piece.

    Let's say I want it to have line spacing all simple. How can I change the line spacing?

    A simple way to get rid of formatting is to copy (or cut) the text in a text editor, such as Notepad and then cut of this application and pick up in your message.
     

    Stefan Blom, Word of Microsoft MVP

  • Change the line spacing in wordpad

    HOW CAN I CHANGE THE LINE SPACING?

    Hello

    I would like to know some information about the problem so that we can help you better.

    You want to set the default spacing in WordPad?

    Thank you for your query details.

    I also appreciate the fact that you want to change line spacing in WordPad.

    Please see suggestions from Steve Cochran and ptsome110 responded on July 21, 2010 and also Steve Winograd said on July 17, 2010.
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_programs/how-to-change-WordPad-line-spacing/328d127b-6bb3-4DF3-abbf-fb840f888b19

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • How can I change the line spacing of the double to single spacing between lines when you use Wordpad in Windows 8?

    How can I change spacing of double room to single space?

    I tried.  I changed the line spacing of 1.5 to 1, but it made no difference.  I also highlighted the text and hold the Ctrl and 1 keys at the same time, as suggested elsewhere.  None of these things worked.  My laptop runs Windows 8 operating system.  What now?

  • I can't put the line spacing of the blank question slide below pt 2.2

    Whenever I have create a fill-in-the-blank question slide in Adobe Captivate, the line spacing of the text box to fill-in-the-white past by 1 point (which is what is said in the slides model) to 2.2 pt. I can say that changes, because the sign more appears next to the name of the style in the Properties tab. I can not change the line spacing to below 2.2pt, but I can do the larger line spacing. I want to set the line spacing to 1.25pt, but it won't let me! If someone could tell me what happens, or could give me a solution, it would be great!

    (I use Adobe Captivate 8)

    Thank you!

    It isn't really pt, do not know why they added it's unity, in EM. I was informed by the team because they need more space for the drop-down lists. Minimum space is 2.2em. Sorry, only the recommendation is to replace the default FIB a custom in which you are using BER or the Interaction of scrolling text for whites.

  • How remove the line by line by comparing to the first column?

    Hello!

    I have a problem - I need to remove the line by line, but the problem is, I know that the first COLUMN of the table is a PK.
    To retrieve the NAME of the COLUMN that I use:

    SELECT column_name, table_name FROM USER_TAB_COLUMNS WHERE column_id = 1 and table_name = c1.tmp_table_name;
    But it does not somehow.
    Below you can see my script (which has not worked for now):

    declare
    XXX varchar2 (100);
    Start
    C1 in (select table_name, tmp_tables tmp_table_name) loop
    IMMEDIATE EXECUTION
    ' SELECT column_name in ' | xxx | "USER_TAB_COLUMNS WHERE column_id = 1 AND table_name = ' |" ' || C1.tmp_table_name | " ' ;
    immediate execution
    "start."
    for c2 in (select * from ' | c1.tmp_table_name | start loop ')
    Insert into ' | C1.table_name | "values c2; delete from ' | C1.tmp_table_name | 'where ' | xxx |' = c2.' | xxx |'; exception: when other then null; end; end loop; end;';
    end loop;
    end;

    P.S. The Inserts work perfect. I have a problem with deleting lines that are in c1.table_name, of c1.tmp_table_name (the two tables have the same structure, PK, always), because I have the names of columns different another tables which are PK. (for example: K, ID, NS and so on) Please help me to write the correct script.
    For example this will be for the first line recovered as:
    Start
    C1 in (select table_name, tmp_tables tmp_table_name) loop
    immediate execution
    «Start for c2 in (select * from ' |)» C1.tmp_table_name | Start loop ')
    Insert into ' | C1.table_name | "values c2; delete from ' | C1.tmp_table_name: ' where K = c2. K; exception: when other then null; end; end loop; end;';
    end loop;
    end;
    This script works perfectly. But I have many other tables with different PK - K No.

    Solution with the logging of errors table

    -- create the error-logging table
    CREATE TABLE tbl_MergeErrors (
        Stamp       TIMESTAMP(3),
        TableName   VARCHAR2(30),
        KeyColumn   VARCHAR2(30),
        KeyValue    VARCHAR2(4000),
        ErrorCode   NUMBER(5),
        ErrorMsg    VARCHAR2(4000),
    
      CONSTRAINT pk_MergeErrors
          PRIMARY KEY (TableName, Stamp)
          USING INDEX
    )
    /
    
    -- procedure to insert errors
    CREATE OR REPLACE
    PROCEDURE LogMergeError (pTableName  IN VARCHAR2,
                             pKeyColumn  IN VARCHAR2,
                             pKeyValue   IN VARCHAR2)
    IS PRAGMA AUTONOMOUS_TRANSACTION;
    
        -- you couldn't insert SQLCODE or SQLERRM directly into a table (ORA-00984)
        nSQLCODE   NUMBER(5)      := SQLCODE;
        vcSQLERRM  VARCHAR2(4000) := SQLERRM;
    
    BEGIN
      INSERT INTO tbl_MergeErrors
             (Stamp, TableName, KeyColumn, KeyValue, ErrorCode, ErrorMsg)
          VALUES (SYSTIMESTAMP, RTrim( SubStr( pTableName, 1, 30)),
                  RTrim( SubStr( pKeyColumn, 1, 30)), SubStr( pKeyValue, 1, 4000),
                  nSQLCODE, vcSQLERRM);
      COMMIT WORK;
    
    -- if an error occured here, then just roll back the autonomous transaction
    EXCEPTION
      WHEN OTHERS THEN   ROLLBACK WORK;
    END LogMergeError;
    /
    
    -- create the tables and insert test-data
    CREATE TABLE TMP_TABLES (
        TABLE_NAME       VARCHAR2(200),
        TMP_TABLE_NAME   VARCHAR2(200),
      CONSTRAINT TMP_TABLES_X PRIMARY KEY (TABLE_NAME)
    )
    /
    CREATE TABLE TMP_KL002 (
        K   VARCHAR2(40),
        N   VARCHAR2(200)
    )
    /
    CREATE TABLE TMP_TABLE1 (
        NS   VARCHAR2(40),
        N    VARCHAR2(200)
    )
    /
    CREATE TABLE KL002 (
        K VARCHAR2(40),
        N VARCHAR2(200),
      CONSTRAINT PK_KL002 PRIMARY KEY (K)
    )
    /
    CREATE TABLE TABLE1 (
        NS   VARCHAR2(40),
        N    VARCHAR2(200),
      CONSTRAINT PK_TABLE1 PRIMARY KEY (NS)
    )
    / 
    
    INSERT INTO TMP_TABLES (TABLE_NAME, TMP_TABLE_NAME) VALUES ('kl002','tmp_kl002');
    INSERT INTO TMP_TABLES (TABLE_NAME, TMP_TABLE_NAME) VALUES ('table1','tmp_table1');
    INSERT INTO tmp_KL002 (K, N) VALUES ('00', 'none');
    INSERT INTO tmp_KL002 (K, N) VALUES ('07', 'exists');
    INSERT INTO tmp_KL002 (K, N) VALUES ('08', 'not assigned');
    INSERT INTO tmp_table1 (NS, N) VALUES ('2000', 'basic');
    INSERT INTO tmp_table1 (NS, N) VALUES ('3000', 'advanced');
    INSERT INTO tmp_table1 (NS, N) VALUES ('4000', 'custom');
    COMMIT WORK;
    
    -- to test, if it works correct when primary key values exists before
    INSERT INTO KL002 VALUES ('07', 'exists before');
    COMMIT WORK;
    
    -- check the data before execution
    SELECT * FROM TMP_KL002 ORDER BY K;
    SELECT * FROM KL002 ORDER BY K;
    SELECT * FROM TMP_TABLE1 ORDER BY NS;
    SELECT * FROM TABLE1 ORDER BY NS;
    
    -- empty the error-logging table
    TRUNCATE TABLE tbl_MergeErrors DROP STORAGE; 
    
    -- a solution
    DECLARE
    
        PLSQL_BLOCK  CONSTANT VARCHAR2(256) := '
    BEGIN
      FOR rec IN (SELECT * FROM <0>) LOOP
        BEGIN
          INSERT INTO <1> VALUES rec;
          DELETE FROM <0> t WHERE (t.<2> = rec.<2>);
        EXCEPTION
          WHEN OTHERS THEN
              LogMergeError( ''<1>'', ''<2>'', rec.<2>);
        END;
      END LOOP;
    END;';
    
    BEGIN
      FOR tabcol IN (SELECT t.Tmp_Table_Name, t.Table_Name, c.Column_Name
                     FROM Tmp_Tables t,
                          User_Tab_Columns c
                     WHERE     (c.Table_Name = Upper( t.Tmp_Table_Name))
                           AND (c.Column_ID = 1)
                ) LOOP
        EXECUTE IMMEDIATE Replace( Replace( Replace( PLSQL_BLOCK,
                                   '<0>', tabcol.Tmp_Table_Name),
                                   '<1>', tabcol.Table_Name),
                                   '<2>', tabcol.Column_Name);
      END LOOP;
    END;
    / 
    
    -- check the data after execution ...
    SELECT * FROM TMP_KL002 ORDER BY K;
    SELECT * FROM KL002 ORDER BY K;
    SELECT * FROM TMP_TABLE1 ORDER BY NS;
    SELECT * FROM TABLE1 ORDER BY NS;
    
    -- ... and also the error-logging table
    SELECT * FROM tbl_MergeErrors ORDER BY Stamp, TableName;
    
    -- of couse you must issue an COMMIT (the ROLLBACK is only for testing
    ROLLBACK WORK;
    
    -- drop the test-tables
    DROP TABLE TABLE1 PURGE;
    DROP TABLE KL002 PURGE;
    DROP TABLE TMP_TABLE1 PURGE;
    DROP TABLE TMP_KL002 PURGE;
    DROP TABLE TMP_TABLES PURGE;
    
    -- you shouldn't drop the error-logging table, but I use it to free up my db
    DROP TABLE tbl_MergeErrors PURGE;
    

    Greetings, Niels

  • Can PSE11 impossible to properly adjust the line spacing - anyone help?

    When I write text in a free style, I'm unable to adjust the line spacing-it turns out that much fat and any value I chose is every time the same thing!

    When you try to text in a box is everything is OK, but I rarely use text in a box...

    I use PSE since 11/2012 and the problem occurred earlier

    Someone at - it an idea?

    Click main menu to drop down below and choose 'Auto '. If this does not work click on the drop-down in the upper right of the tool bar option button and choose "Reset Tool".

  • I need script to remove the line with 2 points, another script to remove next lines

    I need script to remove the line with 2 points, another script to remove next lines of two scripts needed help please

    Thanks in advance

    Concerning

    Lakshmiganth

    Scroll through each pathitem and look at the length of his pathPoints group.  If the length is equal to 2 and then use the remove() method to remove it.  For example (this is rough, off the top of my head):

    var lines = new Array();

    for (i = 0;  I have< app.activedocument.pathitems.length; ="" i++)="">

    If (app.activeDocument.pathItems [i].pathPoints.length == 2) {}

    Lines.push (App.activeDocument.pathItems [i]);

    }

    }

    for (i = 0;  I have< lines.length; ="" i++)="">

    Lines [i]. Remove();

    }

  • How do adjust you the line spacing in ID cs5?

    I have laptop of the customer in the field w/cs5 installed... but can not find a way to adjust the line spacing on this version... the PDF help file I downloaded has no response and a quick search here does not pop up nothing relevant.

    I have a knowledge base of cs3 and cs5 is a different animal.

    I work with a file created in cs3.  The text box cannot be enlarged, but line spacing can be reduced to allow for the inclusion of new text... If I knew where the button/adjustment had been moved.

    Thank you

    There is no difference in this function between CS3 and CS5. The setting you want to adjust is the head.

    Bob

  • remove the line in dataGrid + button

    Hello

    I try to add a button in a DataGrid and give it a value from the dataProvider in Flex

    For example, I have a dataGrid that displays my data and I added a button 'delete' that, once selected needs to get the ID of the selected line in order to remove the line of correct dataGrid / selected etc...

    I've included the button in the DataGrid as a component which is fine, but I'm unable to assign the key a value etc.

    < mx:DataGrid id = "testDG" dataProvider = "..." ">

    < mx:columns >
    < mx:DataGridColumn dataField = "a" headerText = "B" / >
    < mx:DataGridColumn dataField = "b" headerText = "B" / >
    < mx:DataGridColumn dataField = "c" headerText = "C" / >

    < mx:DataGridColumn id = "deleteButtonCol" >
    < mx:itemRenderer >
    < mx:Component >
    < mx:Button label = click on 'Remove' = "must call a function here and pass the row ID" / >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >

    < / mx:DataGrid >

    It is in a component object I think he cannot communicate with scripts outside this component...? It has something to do with 'flex coupling components' allowing them to communicate.

    Can someone give me one advises on how to on this subject?

    Thank you
    Jon.

    Yes, the code inside an element is in its own local scope. If you need get within reach of the DataGrid (at a higher level), use the property of the component "outerDocument". Some info here:

    http://livedocs.Macromedia.com/Flex/2/langref/MXML/component.html

  • Remove the line from the Excel report when generating reports

    Hi all

    I try to delete whole lines of the report excel during the generation of the report in excel, but I'm not able to do this. Here I am attaching an excel template, in that I want to delete line no 3 to 5 How can I do this. I'm using LabVIEW 8.6 Report Generation Toolkit for Microsoft Office 1.1.3

    Thanks and greetings...

    If there is no function to generate report for simple operations like this, then use the palette of VBA macros to run this code snippet:

    'remove all lines between two rows inclusive '.
    Void DeleteRows (intTopRow As String, intLastRow As Integer)
    Range (cells (intTopRow, 1), (intLastRow, 1)). EntireRow.Delete xlShiftUp
    End Sub

    Import Excel module allows to load the .bas file then run Excel Macro with parameters 3 and 5.  Check your security settings if you get an error in the macro.

  • How can I change the default settings of the line spacing in Word Pad to: unique, space no space after a paragraph

    I need to change the default line spacing values to: simple space and NO space after a point, but it doesn't seem to be a way for that.
    Thanks for the tips.

    Press Ctrl + A to select your entire file, and then click the paragraph Options (the button at the bottom right in the paragraph on the Home tab group).  Uncheck "Add 10pt space after paragraphs."

    To create new documents this setting is already selected, follow these steps:
    1 - Create a new empty file, then follow the steps above to disable the spacing option.
    2 - save the file in the folder C:\Windows\ShellNew with a file name as "new WordPad file.
    3 - follow the steps on this support page to create a link from the context menu to create a new file based on this template: http://support.microsoft.com/kb/140333
    4. whenever you want to create a file with this option already set, just right-click on your desktop or in a folder and choose New > WordPad file.
  • remove the two zeros of hexadecimal string

    I'm passing an ASCII string of bench to a VI I wrote and I start with "04" and my VI the ASCII get normal "04".  I then have to convert an ASCII string to a Hex string (using a solution of VI, which I found on the web) and instead, having it display Hex '04', it adds two zeros in the Hex display "0004".  I need to remove the two zeroes don't is just "04".  I don't know there is probably an obvious solution (I'm fairly new to LabVIEW). Thank you

    A statement of format for a cast of just wiring operation confuses the programmer. Don't, don't. The value is not important as the type. (.. .and if you want a string, you can't even wire type.) String is the default!)

    What is the representation of the blue zero constant wired scheme down to the left of "hexadecimal string to munber '? Make sure it's U8.

    Please join the real VI, many things cannot determine in a single image. Thank you!

  • Change the line spacing etc. IRR.

    I use Apex 5.0 and the universal theme. It looks like quite Nice on but it takes plenty of space on the screen far away.

    Le Search bar et le line spacing in the interactive report are quite large. Is it possible to change somewhere?

    On CSS I , but apparently not found the correct settings tried.

    Hacke71 wrote:

    Yes, that's what I tried, but I realized I made a mistake.

    Now with your code, it works fine. Thank you.

    I want to filter and search bar a little smaller.

    Is it possible to reduce the filling of the search bar and filter?

    If the 9 pixels he saves are critical, so of course:

    .a-IRR {
      border: none;
    }
    .a-IRR-toolbar,
    .a-IRR-controls {
      padding: 0;
    }
    .a-IRR-table {
      border-collapse: collapse;
      border-left: 1px solid #e6e6e6;
      border-right: 1px solid #e6e6e6;
    }
    .a-IRR-headerLabel,
    .a-IRR-headerLink {
      padding: 2px 4px;
    }
    .a-IRR-table td {
      padding: 1px 4px;
    }
    

Maybe you are looking for