Post Reply 
Usage of MID()
04-16-2022, 12:18 PM
Post: #2
RE: Usage of MID()
(04-15-2022 09:41 PM)matalog Wrote:  If I set up a string STR1:="123";

Then I use MID(STR1,9), it will return the last digit "3", even though it is the 3rd position of the string, I would thought it would have returned "" given that there is nothing in the 9th position.

Using PUREBASIC for example, I get nothing output to terminal.

MID("123",6) on the Prime, returns 3.

Is that normal?

I don't like it but that's the way it works on mine, too.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Usage of MID() - matalog - 04-15-2022, 09:41 PM
RE: Usage of MID() - toml_12953 - 04-16-2022 12:18 PM
RE: Usage of MID() - matalog - 04-16-2022, 01:30 PM
RE: Usage of MID() - Albert Chan - 04-16-2022, 01:56 PM
RE: Usage of MID() - matalog - 04-16-2022, 03:30 PM
RE: Usage of MID() - StephenG1CMZ - 04-16-2022, 05:06 PM
RE: Usage of MID() - matalog - 04-16-2022, 07:10 PM
RE: Usage of MID() - StephenG1CMZ - 04-16-2022, 07:35 PM
RE: Usage of MID() - jte - 01-12-2023, 01:54 AM
RE: Usage of MID() - jte - 01-19-2023, 08:37 AM



User(s) browsing this thread: 4 Guest(s)