Table Of Contents | Index |
Example:Mid also allows you to write into a string at a specified point. When using Mid in this manner you drop the 3rd parameter.
Writeln Mid('ABCDEFG',3,3) ;returns 'CDE'
Example:
St = 'ABCDEFG' Mid(St,3) = '1' X becomes 'AB1DEFG' Mid(St,3) = '123' X becomes 'AB123FG' Mid(St,3) = '1234567' X becomes 'AB1234567' Mid(St,9) = '12' X becomes 'ABCDEFG 12'
Category: | String |
---|
Table Of Contents | Index |
|