Click here to Skip to main content
15,897,122 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: convert a picture into HTML ??? Pin
Vasudevan Deepak Kumar5-Mar-06 19:21
Vasudevan Deepak Kumar5-Mar-06 19:21 
QuestionHTML code Validator Pin
Trey54983-Mar-06 3:11
Trey54983-Mar-06 3:11 
AnswerRe: HTML code Validator Pin
Sam 20065-Mar-06 12:34
Sam 20065-Mar-06 12:34 
AnswerRe: HTML code Validator Pin
Vasudevan Deepak Kumar5-Mar-06 18:49
Vasudevan Deepak Kumar5-Mar-06 18:49 
Questiontext editor Pin
david boon2-Mar-06 20:41
david boon2-Mar-06 20:41 
AnswerRe: text editor Pin
Vasudevan Deepak Kumar2-Mar-06 21:01
Vasudevan Deepak Kumar2-Mar-06 21:01 
AnswerRe: text editor Pin
enjoycrack2-Mar-06 23:55
enjoycrack2-Mar-06 23:55 
Questionlooping through each element in an array using vbscript Pin
bhavani_ge2-Mar-06 19:21
bhavani_ge2-Mar-06 19:21 
Hi,


I have to append zeros to the team numbers if their length is less than 5.these team numers are in an array. here is the code
txt = split(TeamNum,",")

for i=0 to ubound(txt)
while len(txt(i))<5
txt(i) = "0" & txt(i)
wend
i=i+1
next

TeamNum= join(txt,",") 'Convert array back to string
response.Write TeamNum
response.End

it is appending zero for the first team number bot not the second one though there are two team numbers in the array.

Please let me know what i am supposed to do in this case.

Thanks in advance
AnswerRe: looping through each element in an array using vbscript Pin
Vasudevan Deepak Kumar2-Mar-06 19:53
Vasudevan Deepak Kumar2-Mar-06 19:53 
GeneralRe: looping through each element in an array using vbscript Pin
bhavani_ge3-Mar-06 4:11
bhavani_ge3-Mar-06 4:11 
AnswerRe: looping through each element in an array using vbscript Pin
Guffa3-Mar-06 6:44
Guffa3-Mar-06 6:44 
GeneralRe: looping through each element in an array using vbscript Pin
bhavani_ge3-Mar-06 17:31
bhavani_ge3-Mar-06 17:31 
Questioncgi mailer - Error message Pin
deepak12-Mar-06 11:46
deepak12-Mar-06 11:46 
AnswerRe: cgi mailer - Error message Pin
Vasudevan Deepak Kumar2-Mar-06 19:26
Vasudevan Deepak Kumar2-Mar-06 19:26 
Questionanimated images and javascript Pin
llp00na2-Mar-06 8:41
llp00na2-Mar-06 8:41 
AnswerRe: animated images and javascript Pin
Vasudevan Deepak Kumar2-Mar-06 19:28
Vasudevan Deepak Kumar2-Mar-06 19:28 
GeneralRe: animated images and javascript Pin
llp00na2-Mar-06 23:58
llp00na2-Mar-06 23:58 
GeneralRe: animated images and javascript Pin
Trey54983-Mar-06 8:52
Trey54983-Mar-06 8:52 
GeneralRe: animated images and javascript Pin
llp00na4-Mar-06 5:23
llp00na4-Mar-06 5:23 
Questionimage resizing Pin
FrankRowe2-Mar-06 6:01
FrankRowe2-Mar-06 6:01 
AnswerRe: image resizing Pin
Guffa2-Mar-06 8:39
Guffa2-Mar-06 8:39 
AnswerRe: image resizing Pin
Vasudevan Deepak Kumar2-Mar-06 19:55
Vasudevan Deepak Kumar2-Mar-06 19:55 
GeneralRe: image resizing Pin
FrankRowe10-Mar-06 9:48
FrankRowe10-Mar-06 9:48 
QuestionGet Source through javascript? Pin
Jens Meyer2-Mar-06 4:40
Jens Meyer2-Mar-06 4:40 
GeneralRe: Get Source through javascript? Pin
Guffa2-Mar-06 8:42
Guffa2-Mar-06 8:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.