From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-09-2014 02:38 AM - edited 01-09-2014 02:39 AM
Kinda trite topic, but...
I have a string say 1010002. I need to split it itno two digits groups - 1 01 00 02, if it's uneven - so MSB stands alone.
Thanks in advance. 🙂
Solved! Go to Solution.
01-09-2014 02:48 AM
01-09-2014 02:55 AM
You mean something like this?
01-09-2014 03:08 AM
If you check his comment he doesn't want it reversed, does he?
01-09-2014 04:00 AM
strange but from string 1010002 i'm getting only 00 02 using the last methods.
01-09-2014 04:03 AM
sorry my mistake, last method works just fine. thanks a lot. 🙂
01-09-2014 04:15 AM
may be in the same topic i can ask another question - how to assemble the resulting array 1 01 00 02 with dots - like 1.1.0.2 ?
01-09-2014 04:25 AM
Here you go. The 0 case is empty
01-09-2014 04:49 AM
Splendid. Thanks a lot.
01-09-2014 06:28 AM
I would do it this way. (wait for Christian to get much simple logic)
You can change the delimeter in whatever way you want.