Tag Archives: Main String
Conversion from String to Double using C#
Get characters in a string – C Sharp/C#
Hi, Sometimes you may need to get all the characters in a string using C Sharp/C#. The following code gives you an example of how to get or display all the characters of a given string. Output: sampleString[0] = I sampleString[1] = sampleString[2] = L sampleString[3] = o sampleString[4] = v sampleString[5] = e sampleString[6] = sampleString[7] =β¦ Read More »
Java check memory Allocation
How to Convert a string to date in JAVA ?
Single Selection ListView in android
Hello all….. In today’s post I will show you how to create a single selection list in android. Here is the main.xml Now this line in the java file creates the single choice. setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_single_choice, android.R.id.text1, names)); Now this is the full java code
How to replace a substring in C Sharp/C# ?
How to create a new file using JAVA ?
Exception Handling – Divide by Zero – Java Example
Simple String Concatenation Example in JAVA
How to search for substring from a string in JAVA ?
How to search for characters from strings in JAVA ?
Sort elements in a String Array – C Sharp / C#
Hi, In order to sort the elements in a string array in C Sharp/C#, we use the sort() method. Given below is a simple example using sort() method to sort the elements in a string array. It will print out, Sorted string Array: urStringArray[0] = apple urStringArray[1] = coderz urStringArray[2] = heaven123 urStringArray[3] = heaven777 urStringArray[4] = xyloβ¦ Read More »
Program for Palindrome checking in C Sharp/C#
Copy a file in C Sharp/C# without using FileInfo
Copying a file using FileInfo – C Sharp/C#
C Sharp/C# – Read a complete text file
How to split a String in ANDROID?
C Sharp/C# – String Uppercase/Lowercase Conversion
Hi, It will be very useful to know how you can convert a given string into uppercase or lowercase using program. We are going to show you , how to convert a given string into uppercase or lowercase using C Sharp/C#. See the example given below. Output : Lowercase of sampleString : coderzheaven Uppercase of sampleString : CODERZHEAVENβ¦ Read More »
Compare two strings in C Sharp/C# – Case Insensitive
Get files from a directory – C#/C Sharp
C#/C Sharp – Delete file in a folder
How to create a text file in C# ?
Accessing all items of an Array in C#
- 1
- 2