puvox-library 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library_standard.js +6 -0
- package/package.json +1 -1
package/library_standard.js
CHANGED
@@ -2369,6 +2369,12 @@ const puvox_library =
|
|
2369
2369
|
RemoveHashString(str){ var hash=str.split("#")[1]; return str.replace("#"+hash,''); },
|
2370
2370
|
// ===================================================================//
|
2371
2371
|
|
2372
|
+
arrayRemoveValue(array, value) {
|
2373
|
+
const newArray = [...array];
|
2374
|
+
const index = newArray.indexOf(value);
|
2375
|
+
newArray.splice(index, 1);
|
2376
|
+
return newArray;
|
2377
|
+
},
|
2372
2378
|
|
2373
2379
|
getCharsFromStart(str, amount){
|
2374
2380
|
return str.substring(0, amount);
|