We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6baaab commit b7d067cCopy full SHA for b7d067c
Format/Arr.php
@@ -57,6 +57,22 @@ public function arrayKeys()
57
return $this;
58
}
59
60
+ /**
61
+ * Will explode an array item value and then merge it into array in same hierky
62
+ * @param string $separator
63
+ * @param array $array
64
+ * @return array
65
+ */
66
+ public function arrayItemExpMerge(string $separator): self
67
+ {
68
+ $new = array();
69
+ foreach ($this->value as $item) {
70
+ $exp = explode($separator, $item);
71
+ $new = array_merge($new, $exp);
72
+ }
73
+ $this->value = $new;
74
+ return $this;
75
76
77
public function shift(?Str &$shiftedValue = null): self
78
{
0 commit comments