What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-11-21 07:18:19
sql string functions
ASCII Returns the equivalent ASCII value for a specific character. CHAR_LENGTH Returns the character length of a string. CHARACTER_ LENGTH Same as CHAR_LENGTH. CONCAT Adds expressions together, with a minimum of 2. CONCAT_WS Adds expressions together, but... Add solution -
Javascript 2021-11-21 04:50:12
implement a merge sort algorithm JS
// Merge Sort Implentation (Recursive) function mergeSort (unsortedArray) { if (unsortedArray.length <= 1) { return unsortedArray; } const middle = Math.floor(unsortedArray.length / 2); const left = unsortedArray.slice(0, middle); co... Add solution -
Javascript 2021-11-20 19:30:21
strapi.io react
import React from 'react'; // Parses the JSON returned by a network request const parseJSON = resp => (resp.json ? resp.json() : resp); // Checks if a network request came back fine, and throws an error if not const checkStatus = resp => { if (r... Add solution -
PHP 2021-11-20 18:21:24
function passing multiple arguments using 3 dots php
function concatenate($transform, ...$strings) { $string = ''; foreach($strings as $piece) { $string .= $piece; } return($transform($string)); } echo concatenate("strtoupper", "I'd ", "like ", 4 + 2, &... Add solution -
C# 2021-11-20 14:54:23
new command - latex
\newcommand{\reverseconcat}[3]{\bfseries#3#2#1} % version 2 Add solution -
TypeScript 2021-11-19 11:06:20
formula: =concatenate(transpose(xxxxx)) highlight transpose (xxxx), press "ctrl" + "=" then delete front and back curly brackets "{ }" enter Add grepper answer
formula: =concatenate(transpose(xxxxx)) highlight transpose (xxxx), press "ctrl" + "=" then delete front and back curly brackets "{ }" enter Add solution