String

How to Create a Ceaser Cipher Text Encrypter in Visual Basic

Submitted by GeePee on
Introduction: Welcome to a tutorial on how to create a simple Ceaser Cipher text encrypter using Visual Basic. Notes: In this tutorial I only did three letters as an example, you will want to do the same technique for every letter of the alphabet to avoid messages getting muddled. Steps of Creation: Step 1: First you want to create a form with; textbox1 - Message to encrypt textbox2 - Message to decrypt Button1 - Encrypt Button2 - Decrypt Step 2: We will be using one function to deal with all the encrypting and decrypting s

Reverse a string

Submitted by ainaerik on
This tutorial will teach you how to reverse a string in java . The following are the steps to run this program: 1- Extract reverseString.zip 2- Open Eclipse IDE 3- click file menu and Import 4- general/existing projects into workspace/next 5- check, select root directory and click browse 6- locate the project folder then click ok/finish If you find my code useful, send me an email at: ainaerik@

Data Types in Java

Submitted by donbermoy on
This tutorial will teach you how to understand what are the variables in java. A data type refers to the type of data that can be stored in a variable, means that a variable needs a data type to save space in the memory for allocation. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of variables.java. 2. Now, we will initialize variables with their own data types in java. An int data type contains a whole number.

Count SubString in a Large String in Java

Submitted by donbermoy on
This tutorial will teach you how to create a program that will have an example of Caret Event and Listener in Java. A CaretEvent lets the user notify interested parties that the text caret has changed in the event with its source. Note: A caret is the cursor indicating the insertion point So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of countSubStrings.java. 2.

Decode String into Integer in Java

Submitted by donbermoy on
This tutorial will teach you how to create a program that will decode a string into integer in java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of decodeNumberSystem.java. 2. We will initialize variables in our Main, variable named decimal,octal,and hexa as String.

Split a String in Java

Submitted by donbermoy on
This tutorial will teach you how to create a program that will split a string using java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of splitString.java. 2. We will initialize variables in our Main, variable str as a String, and variable elements as a String array.

Disable an Input Character in Java

Submitted by donbermoy on
This tutorial will teach you how to create a program that will disable a specific input of a character in java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of disableInputChar.java. 2. Import the swing package library: import javax.swing.*; // used to access the JComponent,JFrame,JTextField, and KeyStroke class 3. We will initialize