string.popFileFromAddress

Syntax string.popFileFromAddress (adr)

Params adr is a valid Frontier address.

Action Pops the leading file path from an address to an object in a guest database. If the address is to a guest database, rather than to an object inside a guest database, or to an object in Frontier.root, nothing is popped.

Returns A string, minus the leading file path.

Examples string.popFileFromAddress (@["C:\\Frontier\\Guest Databases\\apps\\mainResponder.root"].mainResponder.discuss.postMessage) //object inside a guest database

   » "mainResponder.discuss.postMessage"

string.popFileFromAddress (@["C:\\Frontier\\Guest Databases\\apps\\mainResponder.root"]) //address of a guest database

   » "[\"C:\\Frontier\\Guest Databases\\apps\\mainResponder.root"]"

string.popFileFromAddress (@websites.samples.bitOfText) //object inside Frontier.root

   » "websites.samples.bitOfText"

Notes This verb is new in Frontier 6.1.

See Also string.stringToAddress

table.inGuestDatabase

Discuss