. - 3GL   - 4GL   5GL  

, , . , . , () .

QBasic LEFT? ( ), RIGHTS ( ) MID$ ( ). , . :

LF$("",1) ' ""

LF$("",2) ' ""

RIGHT$("",1) ' ""

RIGHT?("",2) ' ""

MID$("",2,2) ' ""

MID$("",3)="" ' ""

() MID$ , , -. MID$ , .

, $:

s2 := copy('',2,3); { ''}

delete

insert: delete(s1,start,len);{ len , start} insert(s1,s2,start);{ s2, start, s1}

string.h. :

strcpy(s1,s2); // s2 s1

strncpy(s1,s2,n); // s2 s1

- , , , :

strcpy(s1, &s2[k]); // s2 s1

strncpy(s1, &s[2],n); // s2 s1

LEN (QBasic), Length () strlen (). .

() QBasic :

$=", "+NAME$+"!" s1:='3, '+nm+'!'

:

strcat(s1, s2); // s2 s1

strncat(s1, s2, n); // s2 s1

, . .

, QBasic, 2$ 1$, :
INTSR(A1$,A2$) INSTR(k,Al$,2$)
AI$, k- AI$. .
pos(si,s2) . .
:

strstr (s1,s2); // s2 s1

strchr(s1,); // "" s1

strrchr(s1,); // "" s1

strpbrk(s1,s2); // s2 s1

strspn(s1,s2); // ,

// s2 s1

      . - 3GL   - 4GL   5GL  

, , Component diagram - - , . , .




 10.11.2021 - 12:37: - Personalias -> WHO IS WHO - - _.
10.11.2021 - 12:36: - Conscience -> . ? - _.
10.11.2021 - 12:36: , , - Upbringing, Inlightening, Education -> ... - _.
10.11.2021 - 12:35: - Ecology -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> - _.
10.11.2021 - 12:34: , - War, Politics and Science -> . - _.
10.11.2021 - 12:34: , , - Upbringing, Inlightening, Education -> , - _.
10.11.2021 - 09:18: - New Technologies -> , 5G- - _.
10.11.2021 - 09:18: - Ecology -> - _.
10.11.2021 - 09:16: - Ecology -> - _.
10.11.2021 - 09:15: , , - Upbringing, Inlightening, Education -> - _.
10.11.2021 - 09:13: , , - Upbringing, Inlightening, Education -> - _.
Bourabai Research -  XXI Bourabai Research Institution