Home Discussion Discuss: Taking Substring

  • javaeswaran.k July 5, 2011 at 12:53 PM

    using sub string in very simple example in my email.id

  • substring in javanarayanan September 7, 2011 at 11:12 AM

    why we are using substring (1,2)

  • Substring example Akram Khan September 29, 2013 at 10:47 AM

    public class AkramClass{ public static void main (String args[]){ String strName= "Company"; System.out.println("String Name :: " + strName); String substring = strName.substring (2,6); System.out.println("String Break character :: " + substring); } }

  • substring exampleAkram Khan September 29, 2013 at 10:48 AM

    public class AkramClass{ public static void main (String args[]){ String strName= "Company"; System.out.println("String Name :: " + strName); String substring = strName.substring (2,6); System.out.println("String Break character :: " + substring); } }

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
Java Beginners

Substring in java
Substring in java   example:output 0f the code.. Input String:University of the Cordilleras Input Substring:of Output:1 ...use non static methods,don't use (.Substring).. ..please help me.. ..thank you.. deadline:November 

Java Beginners

Substring in java
Substring in java   example:output 0f the code.. Input String:University of the Cordilleras Input Substring:of Output:1 ...use non static methods,don't use (.Substring).. ..please help me.. ..thank you.. deadline:November 

Development process Questions

find and substring
find and substring   **import java.io.BufferedReader; import... String"); String findstring = keybord.readLine(); String substring = keybord.readLine(); findreplace(findstring,substring); } catch(IOException io 

Flex Questions

string and substring
 

Flex Questions

string and substring
 

Java Beginners

help with substring in c programing
help with substring in c programing  Hi I could not found programming.... Please help with substring function,prompt the user for two strings and display whether or not the second string is a substring of the first string. Regards 

Java Beginners

SubString help - Java Beginners
SubString help  Hi , I would appreciate if somebody could help me... a substring of 35 zeros '00000000000000000000000000000000000' and they could... substring . If it find 35 zeros i need 10 digits in front of it along with those 

Java-Tutorials

Java Substring
Java Substring In this section we will read about Java Substring. A part of String is called substring. Substrings are also a String. Substring is used..., how they can find the substring. To find the substring in Java there is method 

Development process Questions

C Programming SubString Program
C Programming SubString Program  Sir I want to Check whether the Single Substring is present in the given 3 string. characters. eg if i entered First String- CPROGRAMMING Second String- CPROGRAM third String- PROGRAMMING if i 

HTML Questions

How to substring in JQuery?
How to substring in JQuery?  Hi, I my JQuery application I am getting the value from server using Ajax. I have to substring the value in jQuery.... Please let's know How to substring in JQuery? Thanks   Hi 

Programming Tutorials

JavaScript substring length
JavaScript substring length...; This section illustrates you how to determine the length of substring in JavaScript. You... method substring() in order to extract the substring from  the defined 

Programming Tutorials

JavaScript indexOf substring
JavaScript indexOf substring...; In this section, we are going to find the location of substring using... the parameters substring is the specified string and 0 is the index 

Java Interview Questions

check if a substring exists in a string
check if a substring exists in a string  Please I jave an arraylist composed as follwoing [w1, w2, w3, w4, w1.w2.w3, w2.w3.w4, w3.w4, w2.w4, w1.w3, w1.w2] w2.w4 is a subset of w2.w3.w4 ?how I recognize it also w1.w3 

Java Interview Questions

remove a substring from a string
remove a substring from a string  Please I jave an arraylist composed as follwoing [w1, w2, w3, w4, w1.w2.w3, w2.w3.w4, w3.w4, w2.w4, w1.w3, w1.w2] w2.w4 is a subset of w2.w3.w4 ?how I recognize it also w1.w3 is a subset 

Java Beginners

Search string using substring
Search string using substring  I want to print a string by searching a substring of that string. - i want to print email-ids from word files (resumes) in a directory. Search can be made using @ in the word file. So far i can 

Java-Tutorials

SubString in Java
SubString(), a method of String class is used to get a part of original string.... This method has two types: SubString(int beginIndex): This method returns part.... If beginIndex is equal to length in SubString(int beginIndex) it will return empty String 

Programming Tutorials

String substring method example
.style1 { font-size: medium; } String substring() method example:- In the Action Script3, substring are sequential characters that are found from a string. String class provide methods for finding substring from string. Method 

C Tutorials

C String Substring
C String Substring       In this section, you will learn how to get the substring from a string in C. You can see in the given example, a string and a method substring 

JPA

JPA Substring() Function
JPA Substring() Function       In this section, you will learn about the JPQL substring() function. The substring() function returns the some part of string arguments 

Java Tips and Examples

String substring(int beginIndex)
String substring(int beginIndex)   ... the substring(int beginIndex) method of String class. We are going to use substring(int beginIndex) method of String class in Java. The description of the code 

Java Beginners

find a substring by using I/O package
find a substring by using I/O package  Write a java program to find a sub string from given string by using I/O package 

C Tutorials

C get Substring from String
C get Substring from String       This section illustrates you how to get the substring using library function. You can see in the given example, we have used the library 

Core Java

Java SubString
Java SubString       String class provides number of methods for manipulating the strings. substring... of the original string as String object. substring provides a way of making a copy of a piece 

Java Tips and Examples

Taking Substring
Taking  Substring       In this example we are taking a sub string from a given string. You will learn how to use the substring() method of String class 

Java Tips and Examples

String substring(int beginIndex, int endIndex)
String substring(int beginIndex, int endIndex)  ... explanation about the substring(int beginIndex, int endIndex) method of String class. We are going to use substring(int beginIndex, int endIndex) method of String 

JSP Tutorials

Use of Tag of JSTL
Use of <fn:subString(String, int, int)> Tag of JSTL... and return string type. Syntax : java.lang.String substring(java.lang.String, int, int)           subString 

Java Interview Questions

write a java program for inserting a substring in to the given main string from a given position
write a java program for inserting a substring in to the given main string from a given position  write a java program for inserting a substring in to the given main string from a given position 

General

Taking Substring
 

PHP Tutorial

PHP SubString Function
. Example: <?php $superString="Thi is a text"; $substring=substr($superString,5); echo "Sub-string is :".$substring."<br... $superString="Thi is a text"; $substring=substr($superString,-1 

Eclipse Plugins

Universal Label Decorations
depending on substring matching (optional using regular expressions from JDK1.4 or greater). An example is to decorate all packages having the substring

DMCA.com