Changes

Jump to navigation Jump to search
recat
Line 7: Line 7:  
The substring method in JavaScript works the same as in Java. The substr method in JavaScript is basically the same as in PHP, with JavaScript's two arguments corresponding to the last 2 arguments in PHP. However, in Javascript, a negative start is treated the same as zero.
 
The substring method in JavaScript works the same as in Java. The substr method in JavaScript is basically the same as in PHP, with JavaScript's two arguments corresponding to the last 2 arguments in PHP. However, in Javascript, a negative start is treated the same as zero.
   −
[[category:Computer programming]]
+
[[category:Computer Programming]]
Block, SkipCaptcha
8,517

edits

Navigation menu