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 -
-
Other 2021-11-18 00:17:15
string in haskell
Yes, absolutely! That's one of the beautiful things about Haskell. You can treat Strings as [Char]. In fact, that's what they are! In GHCi, type :i String - you get type String = [Char]. You can easily compose functions. There's an operator for that, (.).... Add solution -
Javascript 2021-11-17 16:11:11
javascript capitalize first letter
//capitalize only the first letter of the string. function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } //capitalize all words of a string. function capitalizeWords(string) { return string.repl... Add solution -
Javascript 2021-11-15 20:03:49
capitlize strung js
With performance metrics... // 10,889,187 operations/sec function capitalizeFirstLetter(string) { return string[0].toUpperCase() + string.slice(1); } // 10,875,535 operations/sec function capitalizeFirstLetter(string) { return string.charAt(0).t... Add solution