Go to the first, previous, next, last section, table of contents.


str_len, str_chr, sub_str

str_len(str)
:: 文字列の長さを返す.
str_chr(str,start,c)
:: 文字が最初に現れる位置を返す.
sub_str(str,start,end)
:: 部分文字列を返す.
return
str_len(), str_chr():整数; sub_str():文字列
str c
文字列
start end
非負整数
[185] Line="123 456 (x+y)^3";
123 456 (x+y)^3
[186] Sp1 = str_chr(Line,0," ");
3
[187] D0 = eval_str(sub_str(Line,0,Sp1-1));
123
[188] Sp2 = str_chr(Line,Sp1+1," ");
7
[189] D1 = eval_str(sub_str(Line,Sp1+1,Sp2-1));
456
[190] C = eval_str(sub_str(Line,Sp2+1,str_len(Line)-1));
x^3+3*y*x^2+3*y^2*x+y^3


Go to the first, previous, next, last section, table of contents.