ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(4,423 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
(4,419 Views)
The online help indicates that if you leave the string/search char unwired, it will split the string at offset.
Message 3 of 4
(4,417 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
(4,406 Views)