The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: String Manipulation Madness Series 5 of 5

SercoSteveB
Active Participant

What are the contents of Matched Substring Out following execution of the VI?

Diabolical String Manipulation Series 5 of 5.png

a) <an empty string>

b) Steve.Likes.LabVIEW.txt

c) .Likes.LabVIEW.txt

d) .txt

Comments
LordNobady
Member

D.


Learning LabVIEW since January 2013
crossrulz
Knight of NI

D


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
clendon.gibson@canrig.com
Member

D The *$ is tricky.

SercoSteveB
Active Participant

Answer: D.  Nice one LordNobady, crossrulz & clendon.gibson@canrig.com

This one is used within the Get File Extension.vi on the LabVIEW FIle I/O palette.

mini09
Active Participant

Sorry guys can anyone explain what's happening in the regular expression?

crossrulz
Knight of NI

"\." is a period.

"[~\.]*" is the longest set of characters that does not contain period.

"$" states that this expression must happen at the end of a string.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5