Changes

Jump to navigation Jump to search
m
no edit summary
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:Programming Functions]]
+
[[category:Computer programming]]
Siteadmin, Check users, nsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW, oversight, Administrators
30,650

edits

Navigation menu