David B
03/15/2021, 3:03 AMitem.inventorydetail
?
Trying to use regex to perform a split, but none of \n
, $
, or \s
seem to match it
David B
03/15/2021, 3:10 AM?split(_regex)_
and ?item_cycle()
David B
03/15/2021, 3:16 AMitem.inventorydetail
would return this normally:
inventorynumberA,binA(6)
inventorynumberB,binB(4)
using the above example code (with ?split) returns:
Inv#: inventorynumberA
Bin#: binA
Qty: 6
inventorynumberB
Inv#: binA
Bin#: 4
So you can see \n
, $
and \s
don't match between the first qty and second inventory number. Also ?split
seems to be picking up the )
(it's getting removed), but isn't actually splitting it...Andrea Rivetti
03/16/2021, 11:56 AM