What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-26 09:14:03
Copy content and add url javascript
/* block copy right*/ function addLink() { var body_element = document.getElementsByTagName('body')[0]; var selection; selection = window.getSelection(); var getSelection = selection + ''; var pagelink = "<br /><br />... Add solution -
Java 2021-09-24 08:50:02
java replace character in string
//short answer: you cannot individually change any specific character //of a String in java. You can however do this: String s1 = "This is a String"; String s2 = s1.substring(0, 8) + "o" + s1.substring(9); System.out.println(s2); //Pr... Add solution -
Javascript 2021-09-23 17:13:02
angular browser detector
import {Injectable} from '@angular/core'; @Injectable({ providedIn: 'root' }) export class BrowserDetectorService { private browser: string; private version: number | string; private os: any; private versionSearchString: any; private dataB... Add solution -
Java 2021-09-22 16:31:03
how to change single character of a string in java
//short answer: you cannot individually change any specific character //of a String in java. You can however do this: String s1 = "This is a String"; String s2 = s1.substring(0, 8) + "o" + s1.substring(9); System.out.println(s2); //Pr... Add solution
Best helpers
Ranking is empty