Parsing a string to a boolean array

I got to pase a string to a boolean array, this code works for me, but I don't like it. Here Is
public static boolean[] NumeroToBoolArray( int Numero )
//Here I got the number in Binary Format, then reverse it
String temp = new StringBuffer(Integer.toBinaryString(Numero)).reverse().toString();
//Now I create a boolean array of temp.length
boolean[] data_bool = new boolean[temp.length()];
for (int pp = 0; pp < data_bool.length ; pp++)
//And now assign the value to data_bool
data_bool[pp] = String.valueOf(Character.digit(temp.charAt(pp), 10)).equalsIgnoreCase("1");
return data_bool;
Any idea or replacement for this function?
Thanks

data_bool[pp] = String.valueOf(Character.digit(temp.charAt(pp),10)).equalsIgnoreCase("1");becomes
data_bool[pp] = temp.charAt(pp) == '1';

Similar Messages

  • Parse a String to boolean

    How do you parse a String to boolean, isn't like this? I get this inconertible types error, that require boolean
    boolean all = (boolean)tokens.nextToken();
    Thanks!

    What string means true, and what string means false? The string "true" or "false"? In that case, you can simply use the Boolean.valueOf(String) method:
    public static Boolean valueOf(String s)
        Returns a Boolean with a value represented by the specified String. The Boolean returned represents the value true if the string argument is not null and is equal, ignoring case, to the string "true".
        Example: Boolean.valueOf("True") returns true.
        Example: Boolean.valueOf("yes") returns false.
        Parameters:
            s - a string.
        Returns:
            the Boolean value represented by the string.Otherwise, you can use something like:
      boolean b = string.equals("true");or if string can be null to also mean false:
      boolean b = "true".equals(string);

  • Boolean Array to Hex String - LabVIEW Supplementary Data Conversion Library in version 12 please

    Hello,
    I would like to use the Boolean Array to Hex String.vi in LabVIEW Supplementary Data Conversion Library at http://zone.ni.com/devzone/cda/epd/p/id/3727
    But it is version 4. Can someone give me the library in version 12? Attached herewith.
    Attachments:
    cnvrsion.zip ‏38 KB

    Mass compiled in 8.2.1, which you can open with 2012.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    convrzun.llb ‏65 KB

  • How to parse a string containing xml data

    Hi,
    Is it possible to parse a string containing xml data into a array list?
    my string contains xml data as <blood_group>
         <choice id ='1' value='A +ve'/>
         <choice id ='2' value='B +ve'/>
             <choice id ='3' value='O +ve'/>
    </blood_group>how can i get "value" into array list?

    There are lot of Java XML parsing API's available, e.g. JAXP, DOM4J, JXPath, etc.
    Of course you can also write it yourself. Look which methods the String API offers you, e.g. substring and *indexOf.                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to parse a string in CVP 7.0(1). Is there a built-in java class, other?

    Hi,
    I need to parse,in CVP 7.0(1), the BAAccountNumber variable passed by the ICM dialer.  Is there a built-in java class or other function that would help me do this?
    Our BAAccountNumber variable looks something like this: 321|XXX12345678|1901|M. In IP IVR I use the "Get ICM Data" object to read the BAAccountNumber variable from ICM and then I use the "token index" feature to parse the variable (picture below).
    Alternately, IP IVR also has a Java class that allows me to do this; the class is "java.lang.String" and the method is "public int indexOf(String,int)"
    Is there something equivalent in CVP 7.0(1)?
    thanks

    Thanks again for your help.  This is what I ended up doing:
    This configurable action element takes a string seperated by two "|" (123|123456789|12)
    and returns 3 string variables.
    you can add more output variables by adding to the Setting array below.
    // These classes are used by custom configurable elements.
    import com.audium.server.session.ActionElementData;
    import com.audium.server.voiceElement.ActionElementBase;
    import com.audium.server.voiceElement.ElementData;
    import com.audium.server.voiceElement.ElementException;
    import com.audium.server.voiceElement.ElementInterface;
    import com.audium.server.voiceElement.Setting;
    import com.audium.server.xml.ActionElementConfig;
    public class SOMENAMEHERE extends ActionElementBase implements ElementInterface
         * This method is run when the action is visited. From the ActionElementData
         * object, the configuration can be obtained.
        public void doAction(String name, ActionElementData actionData) throws ElementException
            try {
                // Get the configuration
                ActionElementConfig config = actionData.getActionElementConfig();
                //now retrieve each setting value using its 'real' name as defined in the getSettings method above
                //each setting is returned as a String type, but can be converted.
                String input = config.getSettingValue("input",actionData);
                String resultType = config.getSettingValue("resultType",actionData);
                String resultEntityID = config.getSettingValue("resultEntityID",actionData);
                String resultMemberID = config.getSettingValue("resultMemberID",actionData);
                String resultTFNType = config.getSettingValue("resultTFNType",actionData);
                //get the substring
                //String sub = input.substring(startPos,startPos+numChars);
                String[] BAAcctresults = input.split("\\|");
                //Now store the substring into either Element or Session data as requested
                //and store it into the variable name requested by the Studio developer
                if(resultType.equals("Element")){
                    actionData.setElementData(resultEntityID,BAAcctresults[0]);
                    actionData.setElementData(resultMemberID,BAAcctresults[1]);
                    actionData.setElementData(resultTFNType,BAAcctresults[2]);
                } else {
                    actionData.setSessionData(resultEntityID,BAAcctresults[0]);
                    actionData.setSessionData(resultMemberID,BAAcctresults[1]);
                    actionData.setSessionData(resultTFNType,BAAcctresults[2]);
                actionData.setElementData("status","success");
            } catch (Exception e) {
                //If anything goes wrong, create Element data 'status' with the value 'failure'
                //and return an empty string into the variable requested by the caller
                e.printStackTrace();
                actionData.setElementData("status","failure");
        public String getElementName()
            return "MEDDOC PARSER";
        public String getDisplayFolderName()
            return "SSC Custom";
        public String getDescription()
            return "This class breaks down the BAAccountNumber";
        public Setting[] getSettings() throws ElementException
             //You must define the number of settings here
             Setting[] settingArray = new Setting[5];
              //each setting must specify: real name, display name, description,
              //is it required?, can it only appear once?, does it allow substitution?,
              //and the type of entry allowed
            settingArray[0] = new Setting("input", "Original String",
                       "This is the string from which to grab a substring.",
                       true,   // It is required
                       true,   // It appears only once
                       true,   // It allows substitution
                       Setting.STRING);
            settingArray[1] = new Setting("resultType", "Result Type",
                    "Choose where to store result \n" +
                    "into Element or Session data",
                    true,   // It is required
                    true,   // It appears only once
                    false,  // It does NOT allow substitution
                    new String[]{"Element","Session"});//pull-down menu
            settingArray[1].setDefaultValue("Session");
            settingArray[2] = new Setting("resultEntityID", "EntityID",
              "Name of variable to hold the result.",
              true,   // It is required
              true,   // It appears only once
              true,   // It allows substitution
              Setting.STRING);  
            settingArray[2].setDefaultValue("EntityID");
            settingArray[3] = new Setting("resultMemberID", "MemberID",
                    "Name of variable to hold the result.",
                    true,   // It is required
                    true,   // It appears only once
                    true,   // It allows substitution
                    Setting.STRING);  
            settingArray[3].setDefaultValue("MemberID");
            settingArray[4] = new Setting("resultTFNType", "TFNType",
                      "Name of variable to hold the result.",
                      true,   // It is required
                      true,   // It appears only once
                      true,   // It allows substitution
                      Setting.STRING);  
            settingArray[4].setDefaultValue("TFNType");    
    return settingArray;
        public ElementData[] getElementData() throws ElementException
            return null;

  • Parsing a string of values in an expression

    I have a string being passed into my report (SSRS 2008R2) That I need to parse for display purposes.
    O know that I can do it with a SWITCH Statement, however there are enough different possible combinations of the string that It would become cumbersome and potentially slow down the processing.
    An example of the possible length of the string is as follows:
    ;#None;#Awareness;#Desire;#Knowledge;#Abilities;#Reinforcement;#
    Any one or a combination of the parts can be selected in a sharepoint site, which then concatenates into this type of list value. I simply need to split it apart for
    readability.
    Any helpful hints?

    You don't need GetValue, you can just specify the indexer (1).
    Split produces an array of values. You cannot directly display an array in a report so you need to specify the indexer of the element to display. I think the issue you may have is that you do not know in advance how many elements will be passed in, is that
    correct? So if you try to retrieve
    Split(Fields!Resistance_Areas.Value, ";#")(4) but
    only 3 elements were passed in you get #Error.
    If you know or can safely assume an upper limit to the number of elements then you could work around that issue. If you know that you will not have more than 10 elements passed in then you can prevent #Error by ensuring that you always have a minimum of
    10 elements:
    =Split(Fields!Resistance_Areas.Value+"#;#;#;#;#;#;#;#;#;",
    ";#")(10)
    Note that I add 9 separators to the end of the passed
    value. If Fields!Resistance.Value is empty string then I will get 10 empty string elements in my array, but there will be an element so you won't get #Error when you try to display it. If you get 10 elements in the field then the array will be 20 elements
    long with the last 10 being empty. We don't care about them though since we are not trying to display anything past 10. You just need to append one less separator than the max number of elements you expect.
    If you cannot determine safely a max number of elements
    then the solution gets more complex. How are you trying to use these parsed values? 
    If they will all be displayed together but you want a more readable format, try something like:
    =Replace(Trim(Replace(Fields!Resistance_Areas.Value,",#"," "))," ",", ")
    This replaces the separator strings with space first, then trims the leading and trailing spaces (eliminates the leading and trailing separators) then replaces the remaining spaces with ", " so ";#None;#Awareness;#Desire;#Knowledge;#Abilities;#Reinforcement;#"
    becomes "None, Awareness, Desire, Knowledge, Abilities, Reinforcement". You can make the last ", " "and " with a little
    more work. See this thread (http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7839c15c-1ffa-4a2d-b3f0-1e5d7399607f/replace-last-delimeter-with-and-in-a-string-in-ssrs?forum=sqlreportingservices)
    for more info on that.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • String (binary) to boolean conversion problem.

    Hello,
    Im facing problems converting a string (presumably in the binary format) to turn on LEDs according to its respective weight. ie.binary input = 1010. Thereby it would turn on the first (MSB) and third LEDs while the second and third are left off.
    What I have managed to obtain is a direct conversion of decimal to binary but have not much idea on how to achieve the above goal. The attached file shows two operations; top part does the boolean to binary conversion is fine. The bottom is supposed to be the binary to boolean conversion.
    Attachments:
    boolean to string.vi ‏21 KB

    OK, let's back up a second here. I don't understand what your "boolean to string" VI is doing. Are you starting with a string, a number, or a bunch of Boolean controls? The top part is dealing with Boolean controls and creating a string of characters of "0" and "1". The bottom part you have a numeric control. By the way, it is pointless to take the output of Number to Boolean Array, converting it to an array of 0s and 1s, indexing out each element, and then using the Not Equal to Zero operator. Just take the Boolean array output from Number to Boolean Array directly into an Index Array!
    You seem to be saying that you have a string in the binary format. This is somewhat meaningless, so I'm assuming you mean you have a string that consists of a sequence of the ASCII characters "1" and "0" to indicate a numerical 1 or 0. You then want to convert this into something that is programmatically useful. What that is is not clear, so let's assume an array of Booleans. If that's the case, then you can simply take advantage of the fact that you're starting out with ASCII characters, and use the ASCII codes to find out what you have. The ASCII code for the character "0" is 30 (hex) or 48 (decimal). The ASCII code for the character "1" is 31 (hex) or 49 (decimal). Assuming this is what you have and what you want, then you can simply do this:
    Attachments:
    Example_VI.png ‏8 KB

  • Problems parsing a string

    Hi,
    I'm having a problem with parsing a string. Basically, I want to take a string for example: "TomWentToTheShop" and divide it into a coherent sentence (Tom went to the shop).
    I've started the code by breaking the string into a char array, and if the character is a capital then store the index in the array and then do a substring.
    But I don't think this is the best way to solve the problem, if anyone has any ideas it would be greatly appreciated.
    thanks.
    char[] charRequestTypeArray = string.toCharArray();
    for (int i = 1; i < (charRequestTypeArray.length -1); i++) {
    char c = charRequestTypeArray;
    if (Character.isUpperCase(c)) {
    Arrays.fill(storeCapitalIndex, i);
    else{
    Arrays.fill(storeNonCapitalIndex, i);

            String s = "TomWentToTheShop";
            System.out.println(s.charAt(0) + s.substring(1).replaceAll("((?<!^)[A-Z])", " $1").toLowerCase());or even just        System.out.println(s.charAt(0) + s.substring(1).replaceAll("([A-Z])", " $1").toLowerCase());Edited by: sabre150 on Nov 11, 2007 9:40 PM

  • Use boolean array to perform set operations

    I am currently taking a computer science class that uses Java as the language of choice. I have no prior experience with Java. We have a homework assignment in which we are supposed to use a boolean array to implement set operations. We have to create a method that inserts an integer into the array, another that deletes an integer element, and several others. I am confused as how to do this with integers, as it is a boolean array. The datr for this class is:
    private boolean base[];The constructor is:
    public largeset(int size){ }We then have to create a method that inserts an integer into the array:
    public void insert(int i){ }And one that deletes the element:
    public void delete(int i) { }I am unsure how to do this using a boolean array. If it were an integer array I would not have any trouble, but I get an error when trying to insert/delete an integer from the boolean array. Can anyone help point me in the right direction? I would prefer advice only, not the actual code, as this is a homework assignment, and I would like to create the code myself so I actually know what I am doing. Thanks.

    This is the assignment exactly as posted on the course website:
    In this homework, we will use a boolean array to implement various set operations. Please create a class called largeset that supports set operations of any number of elements. The data of this class is
    private boolean[] base;The constructor of the class is
    public largeset(int size);  // create a boolean array of size "size" and store it in "base"The methods of the class are:
    public void insert(int i);  // insert number i into the current set, where 0 <= i < base.length
    public void delete(int i);  // delete number i from the current set, where 0 <= i < base.length
    public boolean member(int i); // test if i is in the set
    public largeset union(largeset B); // return the union of two sets
    public largeset interset(largeset B); // return the intersection of two sets
    public largeset subtract(largeset B); // return the subtraction of two sets
    public largeset complement(); // return the complement of the current set
    public boolean subset(largeset B); // test if the current set is a subset of set B
    public int cardinality();  // return the number of elements in the current set
    public String toString();  // return a string which is a printing of the current setThen create another class called testset that uses the largeset class. At first, please create the following two sets:
    X = { 1, 3, 5, 7, ..., 999 };
    Y = { 9, 18, 27, 36, ..., 999 };
    Please perform the following tests:
    1. display the cardinalities of X and Y, respectively.
    2. display the content of substraction of Y by X.
    3. display the square root of the sum of all the elements of X (Math.sqrt(x) will return the square root of x in double type).
    4. For every pair of distinct elements x and y in Y, compute the sum of (Math.max(x, y) - Math.min(x, y)) (or equivalently, Math.abs(x - y)), and report this sum.

  • How to change names of an Boolean array in a which has been placed in a cluster?

    Hi guys,
    for my program i need to initialize which tests are in a testblock. Each test is settable with a Booelan button to enable the test, or disable it.
    I have actually 22 testblocks containg over 400 tests. What i would like to do is to make 1 array  with Boolean buttons. So, if you're exploring the testblocks, the labels of this buttons must contain the test names. How can i make a program so the testnames will be automatically transferred to the label of the Boolean buttons? (My array of buttons is placed in a cluster, because i have more data to store about the tests..)
    thanx for your help.
    Attachments:
    example.JPG ‏207 KB

    Hi btwesseli...,
    in an array all elements have the same properties. So you cannot make the labels/captions or whatever different for those booleans.
    But:
    You can overlay an string over the boolean button. Make a string indicator your cluster, make this string transparent and move it over the boolean. Now you can have a
    'label' over the boolean containing the name of the test.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Store boolean array as text file

    Hi there
    I'm having some trouble storinge a 25x25 2D array of booleans in a text file.
    First I make the 2D array a 1D array, and then I change it to a number, but here something already goes wrong, not the full number is stored, presumably because the array is this big?
    Any help will be much appreciated!
    Solved!
    Go to Solution.
    Attachments:
    Store 2D boolean array LV10.vi ‏17 KB

    You can also convert the 2D boolean array into 1D array of numbers and save to text file and then read back to load the original 2D Boolean array
    The best solution is the one you find it by yourself
    Attachments:
    2D Boolean to String.vi ‏16 KB

  • Parse a string?

    Can you parse a string in java?

    String input = JOptionPane.showInputDialog ("Please
    enter a String");
              String x = new String(input);
              String test[] = {x};
              for (int k = 0; k < test.length; k++)
              System.out.println(test[k]);works. Simple really...thanksThis is completely different from what you previously said you wanted to do. What's the point of putting a String into a one-element String array?

  • Parsing hexadecimal strings

    im an fresher currently in a project on secure hash algorithm
    my project is stopped due to certain reasons , further which i cannot proceed.
    i woud be grateful to u if some one provides solution to my problem.
    int a = (word[i] << 1) or (word[i] >> 32-n)
    word is an array that consist of hexadecimal string .
    the thing here is for instance , 0x2g46778, 2g46778
    when u print(both, individually) using System.out.println yields different results.
    the scenario is i have derived word array that consist only number without 0x extension ,
    but result yielded is wrong as for the reason mentioned above.
    but when i take an array that consist of 0x as string and concat it with every element of word array i get the full number (i.e 0x 2hg4kr7)
    again the problem is parsing the hexadecimal string(with ox as extension)
    Query:
    please tell me whether their is any way for parsing hexadecimal string as ox is not recognized.
    or
    how to proceed with it such that my string get parsed.
    thank u
    sincerly
    hari hara ganesh dharmarajan
    india`

    Could you post some sample input and desired output for your project?
    What is an array of hex string?
    Is it String[] with the contents of each string consisting of the char a-f and 0-9? Eg String[] xx = new String[] {"1234", abcd"};
    What does "parsing a hex string" mean? Give an example please.

  • Xerces SAX parser don`t initialize a characters array

    Xerces SAX parser don`t initialize a characters array from characters() method in DefaultHandler.
    I use jdk 1.5.12.
    For value "22-11-2009" variables start=1991, length=9.
    Result: "22-11-200"

    My handler:
    package com.epam.xmltask.parsers;
    import com.epam.xmltask.model.Category;
    import com.epam.xmltask.model.Goods;
    import com.epam.xmltask.model.Products;
    import com.epam.xmltask.model.Subcategory;
    import com.epam.xmltask.utils.Constants;
    import com.epam.xmltask.utils.DateConverter;
    import java.text.ParseException;
    import java.util.Date;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.helpers.DefaultHandler;
    public class SAXProductsParser extends DefaultHandler implements IProductsParser {
        private Logger logger = null;
        private SAXParser parser = null;
        private ErrorHandler errorHandler = null;
        private Products products = null;
        private Category category = null;
        private Subcategory subcategory = null;
        private Goods goods = null;
        private String currentField = Constants.EMPTY_STRING;
        protected Logger getLogger() {
            if (logger == null) {
                logger = Logger.getLogger(SAXProductsParser.class.getName());
            return logger;
        protected SAXParser getParser() throws Exception {
            if (parser == null) {
                try {
                    SAXParserFactory parserFactory = SAXParserFactory.newInstance();
                    parserFactory.setNamespaceAware(true);
                    parserFactory.setValidating(true);
                    parser = parserFactory.newSAXParser();
                    parser.setProperty(Constants.SCHEMA_LANGUAGE, Constants.XML_SCHEMA);
                } catch (Exception ex) {
                    getLogger().log(Level.SEVERE, null, ex);
                    throw ex;
            return parser;
        public ErrorHandler getErrorHandler() {
            if (errorHandler == null) {
                errorHandler = new ProductsErrorHandler();
            return errorHandler;
        public Products getProducts(String uri) throws Exception {
            try {
                products = new Products();
                getParser().parse(uri, this);
                return products;
            } catch (Exception ex) {
                getLogger().log(Level.SEVERE, null, ex);
                throw ex;
        @Override
        public void startElement(String uri, String localName,
                String qName, Attributes attributes) {
            if (Constants.CATEGORY.equals(qName)) {
                String name = attributes.getValue(Constants.NAME);
                category = new Category(name);
            } else if (Constants.SUBCATEGORY.equals(qName)) {
                String name = attributes.getValue(Constants.NAME);
                subcategory = new Subcategory(name);
            } else if (Constants.GOODS.equals(qName)) {
                String name = attributes.getValue(Constants.NAME);
                goods = new Goods(name);
            } else if (Constants.NOT_IN_STOCK.equals(qName)) {
                goods.setIsInStock(false);
            } else {
                currentField = qName;
        @Override
        public void endElement(String uri, String localName, String qName) {
            if (Constants.CATEGORY.equals(qName)) {
                products.addCategory(category);
                category = null;
            } else if (Constants.SUBCATEGORY.equals(qName)) {
                category.addSubcategory(subcategory);
                subcategory = null;
            } else if (Constants.GOODS.equals(qName)) {
                subcategory.addGoods(goods);
                goods = null;
            } else {
                currentField = Constants.EMPTY_STRING;
        @Override
        public void characters(char[] chars, int start, int length) throws SAXException {
            String field = new String(chars, start, length).trim();
            if (goods != null) {
                if (Constants.PRODUSER.equals(currentField)) {
                    goods.setProducer(field);
                } else if (Constants.MODEL.equals(currentField)) {
                    goods.setModel(field);
                } else if (Constants.DATE_OF_ISSUE.equals(currentField)) {
                    Date date = null;
                    try {
                        date = DateConverter.getConvertedDate(field);
                    } catch (ParseException ex) {
                        getLogger().log(Level.SEVERE, null, ex);
                        throw new SAXException(ex);
                    goods.setDateOfIssue(date);
                } else if (Constants.COLOR.equals(currentField)) {
                    goods.setColor(field);
                } else if (Constants.PRICE.equals(currentField)) {
                    Float price = Float.valueOf(field);
                    goods.setPrice(price);
        @Override
        public void error(SAXParseException ex) throws SAXException {
            getErrorHandler().error(ex);
        @Override
        public void fatalError(SAXParseException ex) throws SAXException {
            getErrorHandler().fatalError(ex);
        @Override
        public void warning(SAXParseException ex) throws SAXException {
            getErrorHandler().warning(ex);
    }

  • ASC file to 2D boolean array

    Hey guys,
    I was wondering if there is a method of uploading an *.ASC or *.DAT file to convert into a 2-D boolean array.
    For example, I would create an .asc or .dat file composed of strings using MATLAB to generate
    1 1 0 1 1 0 1 1
    0 1 0 0 1 0 0 1
    1 0 0 1 0 0 1 0
    and it would convert the string to a 2-D boolean array of
    T T F T T F T T
    F T F F T F F T
    T F F T F F T F
    so that I can ultimately use it to create a modified Digital waveform graph like this:
    The purpose is because I will be using sample rates of 0.1 second intervals that spans to 2-5 minutes.
    So to sum it up:
    1. upload a *.ASC or *.DAT file with a 2-D array strings
    2. convert the file to create a 2-D boolean array for use to create the digital waveform
    Any help will be appreciated. I know it isn't much but I've uploaded the 2-D array to waveform *.VI for testing purposes.
    Solved!
    Go to Solution.
    Attachments:
    boolean_array.vi ‏14 KB

    sdkpark wrote:
    However, when I tried that first, it doesn't know how to separate each column of the *.asc file
    1 0 0 1 0 0
    0 1 1 0 1 1
    turns out just to read the first column
    Please attach your VI instead of a meaningless picture.
    Read from spreadsheet file will read all 2D data if used correctly. The defined delimiter is separating items, and linefeed separating rows. For example if you don't wire the delimiter, it will assume "tab" and only one value will get read per line if it is actually a space character. Try a delimiter of "space".
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for