LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Split string at offset into two substrings

Hi
 
I have got a string that I want to split up into two substrings kinda like the vi Search/Split String, except that I just want to split it at a given offset without using the search function, how can I do this?
 
Best regards
Simon
LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
0 Kudos
Message 1 of 4
(3,448 Views)
Hi Simon,

use "Search/Split String" without wiring a search string... And read the context help for this function!


Message Edited by GerdW on 02-28-2008 03:25 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,444 Views)
The online help indicates that if you leave the string/search char unwired, it will split the string at offset.

Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 3 of 4
(3,442 Views)
Hi Gerd
 
Thanks it worked. I didn't see in the help that it could be done without the search term and only using the offset.
Thanks again
 
Best regards
Simon
LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
0 Kudos
Message 4 of 4
(3,431 Views)