Start = character to start at (1 is the first character) Returns a given number of characters from the middle of a string where the input mystring is "Hello", the output mystring will be "ello" MsgBox "Last four characters of your input are " + mystringÄ®.g. Returns a given number of characters from the right hand side of a string where the input mystring is "Hello", the output mystring will be "Hell" MsgBox "First four characters of your input are " + mystringÄ®.g. Returns a given number of characters from the left hand side of a string where mystring is "Hello", length will be 5. MsgBox "Length of the string is " & lengthÄ®.g. Mystring = InputBox("Enter a string to test") Returns the length of a given string or 0 for Empty. Returns a string character that corresponds to the ASCII code in the range 0-255. String = string containing character as first letter whose ASCII code is to be found. Returns the number corresponding to the ASCII code for the first character of string
0 Comments
Leave a Reply. |