Jeet Bhalujeetbhalu.hashnode.dev·Mar 12, 2024Split & join String in dartIn Dart, you can split a string into a list of substrings using the split() method, and you can join a list of strings into a single string using the join() method. Example: void main() { List<String> parts = ["Hello", "World!"]; String str = "H...DiscussDart
Rojesh Shresthathenewbie.hashnode.dev·Jan 12, 2024Mastering JavaScript Array: Discussion on methods of arrayArray is a fundamental data structure used to store data of the same datatype under the same variable name. But JavaScript allows more flexibility compared to some other languages. Example of an array with different data types in JavaScript: const mi...DiscussflatMap
Raineraineyang.hashnode.dev·Jan 2, 2024Rust Learning Note: Running Multiple Future SimultaneouslyThis article is a summary of Chapter 4.11.5 of Rust Course (course.rs/) join! .await does not allow us to run multiple Future simultaneously. We have to wait for one Future to finish processing before another. Sometimes, we want to process a few Futu...DiscussRust
DevBitBytedevbitbyte.hashnode.dev·Dec 8, 2023How to write JavaScript array methods includes and join from scratchincludes Return true if the item is in the array otherwise, return false. Array.prototype._includes = function(value, fromIndex = 0) { for(let i = fromIndex; i < this.length; i++) { if(this[i] === value) { return true ...DiscussJavascript Mini Challenges & ProjectsJavaScript