Latest OxygenBasic.zip at GitHub (Click on the Wizard)
0 Members and 1 Guest are viewing this topic.
DIM s as string = "1234567890"mid(s, 2, 3) = "xxx"print s
DIM s as string = "1234567890"mid s, 2, "x"print s
DIM s as string = "1234567890"mid(s, 2) = "xxx"print smid(s, 2,"xxx")print s
mid(s, 2) = "xxx" 'pseudo assignment
José,Yes, and the mid statement can take 2 forms:mid(s, 2) = "xxx" 'pseudo assignmentmid(s, 2,"xxx") 'underlying formCode: [Select]DIM s as string = "1234567890"mid(s, 2) = "xxx"print smid(s, 2,"xxx")print s
s = LEFT(s, 1) & "xxx" & MID(s, 2)
Quotemid(s, 2) = "xxx" 'pseudo assignment what i don't know for that