ASP.NET common function (2)

xiaoxiao2021-03-06  66

ISNUMERIC (EXPRESSION) determines if the expression content is a numerical state, and if it comes back to True, it is false.

Join (SourceRay [, Delimiter]) combines the character string and unique strings, and the DELIMITER parameter is set to add a new string between each element.

LCASE (String) Converts strings to lowercase fonts.

LEFT (STRING, Length) is started to get the character string to get the length of the length of the length parameter.

Len (string) gets the length of the string.

Log (NUMBER) Natural logar of value.

Ltrim (String) removes the left blank portion of the string.

MID (String, Start [, Length]) Remove the strings of the LENGTH length after the Strat parameter set in the string, if the length parameter is not set, then retrieve all the characters after the start in START.

Minute (TIME) obtains the partial part of the time content, and the type is Integer.

MKDIR (PATH) establishes a new directory.

Month (date) gets the date of the date and the type is Integer.

Monthname (Month) obtains a complete way of writing this month according to the received month value.

Now () achieves the current date and time.

Oct (Number) converts numeric parameters to an 8-enabled value.

Replace (Expression, Find, Replace) converts the string specified by the Find parameter in the string to the string specified by the RELACE parameter.

Right (String, Length) is started to get the character of the length parameter setting length on the right side of the string.

RMDIR (PATH) Removes an empty directory.

RND () acquires a decimal number between 0 and 1, if you have different values ​​each time, you need to add Randomize to the Randomize before use.

RTRIM (String) removes the right blank portion of the string.

Second (TIME) gets the second part of the time content, and the type is Integer.

Sign (NUMBER) acquisition value is a positive or negative number, positive transmission back 1, and negative numbers return -1,0 pass back 0.

SIN (NUMBER) gets a sinusoidal value of an angle.

Space (Number) gets a blank string set by Number parameter.

Split (Expression [, Delimiter]) String string into a string array in a condition string set by Delimiter parameter.

SQRT (NUMBER) gets a number worth square root.

Str (NUMBER) turns back the number into a string.

Strreverse (Expression) obtained the result after the string content reversal.

Tan (NUMBER) acquires a positive cut value of an angle.

TimeOfDay () gets the current time that does not contain the date.

Timer () gets the number of seconds from 0:00 to the current time, and the type is Double.

TimeSerial (Hour, Minute, Second) combines the received parameters into a data available only time DATE.

TIMAVALUE (TIME) gets the time value that meets the country setting style.

Today () gets the date that does not contain time today.

Trim (string) removes the head of the string and ends.

TypeName (varName) gets the type of variable or object.

Ubound (ArrayName [, Dimension]) acquires the final index value of the array, and the Dimension parameter is the final index value of the acquisition of the shorter dimension.

UCASE (String) Converts strings to uppercase.

Val (string) converts a string of characters to a numerical state. If the content containing non-numbers in the string, it will be removed as a number.

The date in the parameters taken by Weekday (Date) is a week, Sunday is 1, Monday 2, and Tuesday is 3.

转载请注明原文地址:https://www.9cbs.com/read-112061.html

New Post(0)