Computer Science, asked by sudiksha1607, 10 months ago

what is "mid" function in qbasic and how does it works​

Answers

Answered by Shubhgyanji
24

Answer:

The MID$ function extracts a specified number of characters from a string, starting from a  specified position.

Explanation:

Its syntax is MID$ (stringExp, start, length)

Example: Your name 'divaluthra' is consist of 10 characters, we would extract character after diva in the following coding:

a$ = "divaluthra?"

PRINT MID$(a$, 4)       'Output is:  luthra

Answered by varun13154
14

Answer:

hiii

Explanation:

The MID$ function extracts a specified number of characters from a string, starting from a specified position. Example: Your name 'divaluthra' is consist of 10 characters, we would extract character after diva in the following coding: a$ = "divaluthra

Similar questions