User`s guide

If an error occurs, Function 152 returns an 0FFFFH in register pair HL.
On a successful parse, the Parse Filename function checks the next item in the
input string. It skips over trailing blanks and tabs and looks at the next character. If
the character is a null or carriage return, it returns a 0 indicating the end of the input
string. If the character is a delimiter, it returns the address of the delimiter. If the
character is not a delimiter, it returns the address of the first trailing blank or tab.
If the first non-blank or non-tab character in the input string is a null, 0, or
carriage return, the Parse Filename function returns a zero indicating the end of
string.
If the Parse Filename function is to be used to parse a subsequent file specification
in the input string, the returned address must be advanced over the delimiter before
placing it in the PFCB.
End of Section 3
3-99
BDOS Function Calls CP/M 3 Programmers Guide