PARSEFNAME Example


Example:

 

  

PARSEFNAME

STRING INTO NAME

 

 

Variable

PL

FP

LP

Contents

Before:

STRING

39

1

39

C:\SUNBELT\PLBWIN.EXE is the file name.

 

NAME

25

1

5

Henry····················

 

After:

STRING

39

22

39

C:\SUNBELT\PLBWIN.EXE is the file name.

 

NAME

25

1

21

C:\SUNBELT\PLBWIN.EXE····

 

The EQUAL Condition Flag is set.

 



PL/B Language Reference Parse Examples PATH Examples