Pudu programming language
Menu
API reference

Std.Path.separator

1 declaration

fn

separator: Str

This is a callable function.

What it does

The character this machine writes between the pieces of a path.

Asked of the machine rather than written down. It is a slash on one family

of operating system and a backslash on the other, and a path built with the

wrong one is not a path there. A separator spelled into the source would be

a claim about somebody else's computer.

Read the signature

  • The text after the name is the type checked by Pudu.

Back to Std.PathSearch related declarations