[↑]
SmileBASIC4 Replica Reference
MID$
Get substring of the specified number of characters from specified position of the string

MID$(String,StartPosition [,NumberOfCharacters])

Arguments

String

Target string

StartPosition

Start position of the acquired string

NumberOfCharacters

Number of characters in the acquired string

・If not specified, the number of characters from the start position to the end of the string is specified.

Return Value

Obtained string

Example

S$=MID$("ABC",0,2)
About this site
Our site is an unofficial manual site of programming software "SmileBASIC" for NintendoSwitch™.
I acquire the content of the site from the official reference site of the SmileBoom Co.Ltd. that is the development and sales cause of the software in real time (a minimum period of 24 hours update) and display it. For automatic update, contents may become improper.
Please confirm the correct content in an official site.

June 3, 2020
by mim
OK
|