What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-11 01:02:13
how to turn a string into an array javascript
// our string let string = 'ABCDEFG'; // splits every letter in string into an item in our array let newArray = string.split(''); console.log(newArray); // OUTPUTS: [ "A", "B", "C", "D", "E", "F&quo... Add solution -
VBA 2021-11-09 23:14:15
vba Convert HEX string to Unsigned INT
'VBA function to convert a hexadecimal string into a decimal. Uses 'the Decimal Variant subtype to allow for much larger values than the 'worksheet function HEX2DEC() or CLng("&h" & HexVal) can achieve. It 'returns an UNSIGNED Decimal i... Add solution -
Python 2021-11-09 13:40:23
luhn algorithm python
#Worse #This is the longer Luhn's algorithm with step-by-step instructions #Function to split a string into a list of all its constituent characters def split_char(number_string): return [char for char in number_string] #Function to convert a string... Add solution -
VBA 2021-11-06 19:24:15
excel vba Convert HEX string to Unsigned INT
'VBA function to convert a hexadecimal string into a decimal. Uses 'the Decimal Variant subtype to allow for much larger values than the 'worksheet function HEX2DEC() or CLng("&h" & HexVal) can achieve. It 'returns an UNSIGNED Decimal i... Add solution -
Javascript 2021-11-06 11:42:18
convert string to array javascript
// our string let string = 'ABCDEFG'; // splits every letter in string into an item in our array let newArray = string.split(''); console.log(newArray); // OUTPUTS: [ "A", "B", "C", "D", "E", "F&quo... Add solution -
Javascript 2021-11-05 04:38:13
slice until character javascript
var string = "55+5"; // Just a variable for your input. function getBeforePlus(str){ return str.split("+")[0]; /* This splits the string into an array using the "+" character as a delimiter. Then it ... Add solution -
Javascript 2021-11-04 19:30:15
string to char array javascript
// our string let string = 'ABCDEFG'; // splits every letter in string into an item in our array let newArray = string.split(''); console.log(newArray); // OUTPUTS: [ "A", "B", "C", "D", "E", "F&quo... Add solution
Best helpers
Rocky DeHart
+5
Cynthia
+5
Eve noonan
+5
Martinako
+5
Numeri
+5
John Weisz
+5
Tammy Lin
+5
Flyeogh
+5
SunnyHills
+5
Ishan Yadav
+5
Aown Ali
+5
Terry3497
+5
Xkcvk2511
+5
Jean Luis
+5