What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-09-27 22:01:06
xl vba udf translate text
'VBA function (extremely fast) to force an array column 'to ONLY alpha-numeric characters (with spaces): Function ForceArrayColumnAlphaNumeric(v, Optional col& = 1) Dim i&, j&, p&, max&, t& Dim b() As Byte, res() As Byte,... Add solution -
PHP 2021-09-23 14:40:02
array_values() in php
PHP array_values() is an inbuilt function that returns all the values of an array and not the keys. The array_values() function returns the array containing all the values of an array. The returned array will have the numeric keys, starting at 0 and incre... Add solution -
VBA 2021-09-22 15:37:03
vba static array declaration
'VBA arrays can be fixed-size (static) or resizable (dynamic). 'This is determined when the array is declared: Dim vArrA() 'dynamic: size is determined later. Dim vArrB(1 to 5) 'static: size is determined now and cannot be changed. 'Array size refers ... Add solution -
Javascript 2021-09-22 13:00:02
how to create a mixed array in javascript
The array in JavaScript can be created by using var keyword followed by array name as shown below: var NumArr = [1,2,3,4,5]; You can create JavaScript array with mixed data types as well, for example, array containing both numbers and strings: var MixA... Add solution -
VBA 2021-09-21 05:47:06
excel vba ubound on a multidimensional array
'The VBA UBound() function returns the max index of an array. MsgBox UBound(vArr) '<--max index of the first dimension 'There is an optional second argument called rank (that defaults to: 1) 'that specifies the dimension: MsgBox UBound(vArr, 2) ... Add solution -
Other 2021-09-16 05:16:03
bash script in array
if [[ " ${array[@]} " =~ " ${value} " ]]; then # whatever you want to do when array contains value fi if [[ ! " ${array[@]} " =~ " ${value} " ]]; then # whatever you want to do when array doesn't contain va... Add solution -
VBA 2021-09-16 02:36:02
excel save sheet to CSV with unicode
'VBA routine to save the currently active worksheet to a CSV file 'without losing focus AND retaining Unicode characters. This routine 'is extremely fast (instantaneous) and produces no flicker: Sub SaveSheetAsCSV() Dim i&, j&, iMax&, jMa... Add solution -
C++ 2021-09-12 23:08:01
c++ vector allocator example
// vector::get_allocator #include <iostream> #include <vector> int main () { std::vector<int> myvector; int * p; unsigned int i; // allocate an array with space for 5 elements using vector's allocator: p = myvector.get_alloca... Add solution -
C++ 2021-09-12 08:20:04
collections c# vs c++
Array - C array, though the .NET Array can have a non-zero starting index. List<T> - std::vector<T> Dictionary<TKey, TValue> - unordered_map<Key, Data> HashSet<T> - unordered_set<Key> SortedDictionary<TKey, TValue>... Add solution
Best helpers
Vermilions
+5
Lupa
+5
Loronzo
+5
Rusnasonov
+5
MopMop
+5
Zulu
+5
Mai0003c
+5
Umesh
+5
DJaye
+5
Ex Umbris
+5
Sara J
+5
Brad Thomas
+5
Carla Walker
+5
MGA
+5
Dan Nestor
+5
Shivam Patel
+5
Calista
+5
Stefan M
+5
JBeez
+5
Heewoo Kim
+5
Hassaan
+5
Robasta
+5
RLHanout
+5
Pranasas
+5
OiciTrap
+5
Pc1oad1etter
+5
Nerrolken
+5
Nkwama
+5
Poster
+5
Elenaher
+5
Amit Pareek
+5
Ian Goldby
+5