Home >Common Problem >How to use mid function in VB?
#How to use the mid function in VB?
The function of the mid function in VB is to cut m characters from the nth character of the string. Its syntax is "Mid(string,start[,length])" and its parameter string is a string. Expression, the parameter start is the character position of the extracted part in the string, and the parameter length is the intercepted length.
VB What?
Visual Basic (VB for short) is a general object-based programming language developed by Microsoft. It is structured, modular, object-oriented, and includes events to assist in the development environment. A visual programming language driven by mechanisms. It is a language that can be used for Microsoft's own product development.
"Visual" refers to the method of developing a graphical user interface (GUI) - instead of writing a lot of code to describe the appearance and position of interface elements, you only need to add pre-created objects to a point on the screen That’s it. "Basic" refers to the BASIC (Beginners All-Purpose Symbolic Instruction Code) language, which is the most widely used language in the history of computing technology development.
Visual Basic is derived from the BASIC programming language. VB has a graphical user interface (GUI) and a rapid application development (RAD) system. You can easily use DAO, RDO, and ADO to connect to the database, or easily create Active X controls for efficient generation of type-safe and object-oriented applications. . Programmers can easily use the components provided by VB to quickly build an application.
Recommended tutorial: "PHP"
The above is the detailed content of How to use mid function in VB?. For more information, please follow other related articles on the PHP Chinese website!