Menu

#118 String to 1D Array output is empty, if delimiter not found

open
lib_string (12)
5
2014-05-23
2013-02-15
No

(OpenG String Library 4.1.0.12, String to 1D Array__ogtk.vi, LabVIEW 2012)

STEPS TO REPRODUCE:
1. Wire a non-empty string into the input
2. Wire a delimiter, that doesn't exist in the input string
3. Set "Ignore duplicate delimiters?" to TRUE

EXPECTED OUTPUT:
- The output should equal the input, since it was not delimited

ACTUAL OUTPUT:
- The output is an empty string

NOTES:
- Output is correct if "Ignore duplicate delimiters?" is FALSE

Discussion

  • Sze Howe Koh

    Sze Howe Koh - 2013-02-15

    Sorry, slight error.

    EXPECTED OUTPUT:
    - The output should be a 1-element array, where the element equals the input string

    ACTUAL OUTPUT:
    - The output is an empty array

     
  • Rolf Kalbermatter

    Committed a fix for this to the SVN repository.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.