What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-22 06:51:01
Web3 Example
// Here's how we would access our contract: var abi = /* abi generated by the compiler */ var ZombieFactoryContract = web3.eth.contract(abi) var contractAddress = /* our contract address on Ethereum after deploying */ var ZombieFactory = ZombieFactoryCont... Add solution -
Javascript 2021-09-21 06:33:02
javascript add to string
function addStr(str, index, stringToAdd){ return str.substring(0, index) + stringToAdd + str.substring(index, str.length); } let str = "This is a string"; let stringToAdd = "modyfied "; console.log(addStr(str, 10, stringToAdd)); /... Add solution -
Other 2021-09-19 16:38:03
String index out of range: 7
package com.yawintutor; public class StringSubstringCharAt { public static void main(String[] args) { String str = "Bangalore"; String str2; str2 = str.substring(3, 8); System.out.println("Given String : " + str); System... Add solution -
Javascript 2021-09-16 11:12:01
web3.js example
// Here's how we would access our contract: var abi = /* abi generated by the compiler */ var ZombieFactoryContract = web3.eth.contract(abi) var contractAddress = /* our contract address on Ethereum after deploying */ var ZombieFactory = ZombieFactoryCont... Add solution