What do you want to save?
Add Code snippet
New code examples
-
C# 2021-10-02 16:30:06
how to save data on cellphone unity android
using System.IO public class scoreFile { private int[] level; private bool[] completed; private float[] completionTime; private string[] scores; private string fileName; //This class stores information for each of the levels.... Add solution -
Other 2021-10-01 22:04:05
text hyperlink unity
// Check links in text void CheckLinks () { Regex regx = new Regex ("((http://|https://|www\\.)([A-Z0-9.-:]{1,})\\.[0-9A-Z?;~&#=\\-_\\./]{2,})" , RegexOptions.IgnoreCase | RegexOptions.Singleline); MatchCollection matches = regx.Match... Add solution -
Java 2021-10-01 20:34:07
Java program to check palindrome string using recursion
import java.util.Scanner; public class RecursivePalindromeJava { // to check if string is palindrome using recursion public static boolean checkPalindrome(String str) { if(str.length() == 0 || str.length() == 1) return true; ... Add solution -
Html 2021-10-01 13:41:04
c# how to get src from html img
string str = "<div> <img src=\"https://i.testimg.com/images/g/test/s-l400.jpg\" style=\"width: 100%;\"> <div>Test</div> </div>"; // Get the index of where the value of src starts. int start = st... Add solution -
Javascript 2021-10-01 11:15:03
js get browser name and platform
var nVer = navigator.appVersion; var nAgt = navigator.userAgent; var browserName = navigator.appName; var fullVersion = ''+parseFloat(navigator.appVersion); var majorVersion = parseInt(navigator.appVersion,10); var nameOffset,verOffset,ix; // In Opera... Add solution -
C# 2021-10-01 00:11:06
save binary data to file c#
// The string we are working with. string str = @"1010101010010100010101101"; // The number of bits in a 64 bit integer! int size = 64; // Pad the end of the string with zeros so the length of the string is divisible by 64. str += new string('0'... Add solution -
Java 2021-09-30 14:00:02
Java program to check palindrome number using recursion
import java.util.Scanner; public class RecursivePalindromeJava { // to check if string is palindrome using recursion public static boolean checkPalindrome(String str) { if(str.length() == 0 || str.length() == 1) return true; ... Add solution