What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-31 14:28:01
reactjs web3 components
<Web3Provider> <Sign message='Login nonce: 1234' onSign={console.log} onError={console.error} > { &nbs... Add solution -
C# 2021-08-31 07:31:01
capitalize c#
string text = "john smith"; // "John smith" string firstLetterOfString = text.Substring(0, 1).ToUpper() + text.Substring(1); // "John Smith" // Requires Linq! using System.Linq; string firstLetterOfEachWord = string.Join(... Add solution -
Javascript 2021-08-29 15:09:02
js window selection get new line
var userSelection function countLineBreaks(){ //Textarea var textarea = document.getElementById("textArea"); //Get user selection userSelection = (textarea.value).substring(textarea.selectionStart,textarea.selectionEnd); //Simpl... Add solution