how to get center of string in vba code example Example: mid visual basic function Mid(string, start, [ length ])