Changes

Jump to navigation Jump to search
dead end page links
Line 1: Line 1: −
'''Extracting parts of a string''' works slightly different in major computer languages. Java and PHP take entirely different approaches, while JavaScript combines the best of each.
+
'''Extracting parts of a string''' works slightly different in major [[programming language|computer languages]]. [[Java]] and [[PHP]] take entirely different approaches, while [[JavaScript]] combines the best of each.
    
Java has the substring method [http://download.oracle.com/javase/1,5.0/docs/api/java/lang/String.html#substring(int, int)] which extracts a string beginning at the first argument, and ending just before the second argument. Each argument is an index into the string, taken as an offset from the first character.
 
Java has the substring method [http://download.oracle.com/javase/1,5.0/docs/api/java/lang/String.html#substring(int, int)] which extracts a string beginning at the first argument, and ending just before the second argument. Each argument is an index into the string, taken as an offset from the first character.
SkipCaptcha
786

edits

Navigation menu