Adding quotes
daniva Adds quotes to a filename… especially useful when sending an argument to a program (ie a filename) and it has spaces in it (with spaces if shows up as multiple arguments.
daniva Adds quotes to a filename… especially useful when sending an argument to a program (ie a filename) and it has spaces in it (with spaces if shows up as multiple arguments.
daniva The following function formats messages, using the Dot.Net format principle.
daniva Use the LCase function and to convert a string to lower-case.
Use the UCase function and to convert a string to upper-case.
daniva Use the LTrim, RTrim, and Trim to trim whitespace from a string.
daniva The string operator & performs a string concatenation also the + operator.
daniva Use the Space and String to create a string having a single character repeated N times.
daniva Use the StrComp function and vbTextCompare argument to compare strings without case sensitivity.
daniva Use the Right Function to extract a substring from the end of a string.
daniva Use the Mid Function to modify a substring within a string
daniva Use the Left Function to extract a substring from the beginning of a string.
daniva Use IsDate to determine if a string contains a valid date.
daniva Find the starting position of the last occurrence of a substring within a string. ( With strings, the first character is at position 1 )
daniva VBScript has no built-in function where we can find all occurrences of a substring inside a string. Only regular with expressions ( Regexp ) the task is easier. However you need to use Regexp, Matches, and Match objects.
daniva Use the CItn function to Determine if a string contains a substring.
daniva Use the CStr to convert a number into it’s string representation
daniva The Asc function takes an ASCII character code and returns the character.
Recent Comments