Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java substring

// Suppose we want the first 4 chars of str
String a = str.substring(0, 4);  
Source by codingbat.com #
 
PREVIOUS NEXT
Tagged: #java #substring
ADD COMMENT
Topic
Name
8+8 =