Note: You must add uk to the end of the address, it's to help prevent spam. |
MID$ TYPE: String Function Action: The MID$ function returns a sub-string which is taken from within a larger <string> argument. The starting position of the substring is defined by the <numeric-1> argument and the length of the sub-string by the <numeric-2> argument. Both of the numeric arguments can have values ranging from 0 to 255. If the <numeric-1> value is greater than the length of the <string>, or if the <numeric-2> value is zero, then MID$ gives a null string value. If the <numeric-2> argument is left out, then the computer will assume that a length of the rest of the string is to be used. And if the source string has fewer characters than <numeric-2>, from the starting position to the end of the string argument, then the whole rest of the string is used. EXAMPLE of MID$ Function:
|