what is "mid" function in qbasic and how does it works
Answers
Answered by
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
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