This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
cubloc:mid:index [2016/06/13 09:02] COMFILE Technology |
cubloc:mid:index [2016/06/13 09:02] (current) COMFILE Technology |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Mid(stringValue, location, numberOfCharacters) ====== | ||
+ | Returns a specified number of characters from a ''String'' starting at a specified location. | ||
+ | |||
+ | <code xbasic> | ||
+ | Dim ST1 As String * 12 | ||
+ | ST1 = "CUBLOC" | ||
+ | Debug Mid(ST1,2,4) ' "UBLO" is printed. | ||
+ | </code> | ||
+ | |||
+ | {{:cubloc:cublocleftrightmid.png?600|}} | ||
+ | |||
+ | See also [[:cubloc:left:|Left]] and [[:cubloc:right:|Right]]. | ||
+ | |||
+ | [[cubloc:index#system_library:|Go CUBLOC home]] |