Join Slack
Powered by
anyone know why `string.search(/word1\W+word2/i)` ...
# suitescript
d
Daryl K
01/25/2022, 12:38 AM
anyone know why
string.search(/word1\W+word2/i)
would fail, when string = "word1->word2" ... running SuiteScript 2.1
🤷♂️ 1
Daryl K
01/25/2022, 1:08 AM
problem solved, Netsuite being an ass ... descriptions from a transaction have symbols encoded ... but printing to a log, it's converted back
Daryl K
01/25/2022, 1:08 AM
string was actually "word1->word2"
Open in Slack
Previous
Next