ISaGRAF. Version 3.4


MID


:

IN MSG

NbC INT ,

IN

Pos INT

Pos

( 1)

Q MSG IN ( = NbC)

:

. .

(*FBD MID*)

(* ST : *)

sub_string := MID ('abcdefgh', 2, 4);

(* - 'de' *)

(* IL : *)

LD 'abcdefgh'

MID 2,4

ST sub_string