Commit 636a63c5644729707765908252118e11469c87e0
1 parent
d518d04536
Exists in
master
splitPostpaidDetail mendukung titik dua maupun sama dengan
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
index.js
... | ... | @@ -134,7 +134,7 @@ function splitPostpaidDetail(str) { |
134 | 134 | const retval = (str || '') |
135 | 135 | .split('/') |
136 | 136 | .map((item) => { |
137 | - let [keyword, value] = item.split(':'); | |
137 | + let [keyword, value] = item.split(/[:=]/); | |
138 | 138 | keyword = (keyword || '').trim() |
139 | 139 | |
140 | 140 | if (keyword === 'N') keyword = 'SN'; |