Thread
:
removing 0 from the begining of the array
View Single Post
#
6
(
permalink
)
08-21-2008, 08:56 PM
Norm
Senior Member
Join Date: Jun 2008
Location: SouthWest Missouri, USA
Posts: 2,229
Rep Power:
4
Quote:
array1 = 1999
array2 = 0908
i would like to make array2 = 908 .. can you help me ?
Since the arrays appears to be a String of 4 chars, Then:
array2 = array2.substring(1); // drop leading char
Norm
View Public Profile
Send a private message to Norm
Visit Norm's homepage!
Find all posts by Norm