VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

VB for JavaScript

Steve Palmer  (1 Submission)   Internet/HTML   VB Script   Advanced   Wed 3rd February 2021

Updated 11/19/2004
Added check for deliminator (/ - or .)
This JavaScript file allows coders to use common VB functions that are not available in JavaScript to handle strings and dates, functions include Parse(), Len(), Left(), Right(), inStr(), DateAdd() and DateDiff().

Inputs
Inputs for all functions are the same as in VB, the data type and quantity are the same.

Assumes
use is explained in the top of the file, the file is a .txt extention for download just chaneg the extention to .js to use it

Returns
the functions return a variable of the same name as the function

Side Effects
none that I know of 2/16/05 Fixed bug for months with 31 days.

Rate VB for JavaScript (2(2 Vote))
VB for JavaScript.bas

VB for JavaScript Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters