All Questions
571
questions
0
votes
4
answers
119
views
Create an array using item from different array
I need to create a new array of objects with 12 item (months & value) on it but it must check if the month exist on other array. If it exist it will push onto the array if not it will have a value ...
0
votes
1
answer
54
views
Using find, match and filter with reactive array in VueJS - how do I?
Thought I understood .value but apparently not! :)
This is using VueJS v3 and Composition API. I'm attempting to find the first matching value in a reactive array of people. In reality my array is ...
1
vote
2
answers
40
views
is there anything simple and less line of code to check the pass and user and check if its matched
I want to check if the user and pass is matched and also their indexes since im using array of objects im using localstorage and javascriptfor this activity
//find user if exist
var founduser = ...
0
votes
0
answers
27
views
generate a graph between 15k+ strings of recipe ingredients
you know real world data is messy, and i have an interesting problem that i cannot find the solution to or cannot find the right keywords to search.
so i have about 15k+ recipe ingredients written in ...
0
votes
2
answers
47
views
Button to find elements in an Array
I am trying to make a site where the user can hit a button and it will return data from the array. For example, a button called 'show male dogs' should bring back the 3 male dogs in the array.
I am ...
-2
votes
1
answer
58
views
create array of strings, then check occurrence of those strings in cells [closed]
I have a very long list of company names in a column A as strings. They contain “LLC”, “llc”, “limited”, “Ltd.” etc in all combinations. I need to create a list (dictionary) and check for the ...
-2
votes
1
answer
54
views
Recursive code that returns the sums of an array that match a target
the following code shows all the possible sums equal to a target in an array, my problem is that I understand the logic of how it works in the first answer, however I do not understand how recursion ...
0
votes
2
answers
100
views
Correct "As" Clause to use
I'm using VB.net and trying to fully define a variable FoundComboBoxes but when I use As I get errors.
I've tried Control which errored as expected, Control(), Control.ControlCollection and too many ...
0
votes
0
answers
49
views
Using find returns undefined?
After several days, suddenly this foundation of my project breaks and I have absolutely no idea why. If someone has any insight as to what's going on here, I would love to know.
I am saving data for ...
0
votes
1
answer
29
views
unable to get the index of element in array react js
const editAddHandler = (event, key) => {
const db = getDatabase();
onValue(ref(db, `users/${userId}/addressData`), (snapshot) => {
const addresslist = [];
snapshot.forEach((...
0
votes
5
answers
67
views
How to get an object property value from an array using the value of another property
I want to get the value of a property from an array of objects using the value of another property let's say I have the following array:
const objArray =
[
{car: 'BMW', price: 2000},
{car: '...
0
votes
0
answers
71
views
Count cells in a range that contain a value that exists in another string in Excel
I want to be able to count the number of records that contain a value that is contained within a string in another cell in Excel.
For example:
My range contains the values red; green; yellow;
String =...
0
votes
1
answer
25
views
filter an array from another array each content
i've encountered some problem in Array.
firstArray = [ eva, ema, ela] secondArray = [(Name:eva , Done: 2), (Name:ela , Done: 5), (Name:ema , Done: 3), (Name:ela , Done: 1), (Name:ema , Done: 0), (Name:...
0
votes
2
answers
200
views
How to toggle a todo completed option?
I'm expecting clicking the Done/Undone individual task button to toggle the task data completed to opposite using Vuex store actions. But I'm getting the 404 error. Even though I'm passing the task id ...
-1
votes
1
answer
28
views
How can I use find( ) to search for a specific matching Element but have it display an alternate element inside that same object?
I really hope i used element and object correctly in the title. My apologies ahead of time if i defined them incorrectly. I struggle with that. So the array given to me looks like this
const ...