OverviewExamples
color_string = String.Mid("The red balloon", 5, 3);
Copies 3 characters from the string "The red balloon" starting at position 5. This will store "red" in the variable named color_string.
strEnd = String.Mid("The red balloon", 12, -1);
Copies everything from the 12th character in "The red balloon" to the end of the string. This will store "loon" in a variable named strEnd.
filename = String.Mid(filepath, String.ReverseFind(filepath, "\\") + 1, -1);
Copies the filename from the path stored in the variable "filepath" and stores it in a variable named "filename."
See also: Related Actions