Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPath_StripExtension ( const kChar path,
kChar strippedPath,
kSize  capacity 
)

Given a file path, returns the portion of the path excluding the file extension.

The strippedPath (output) argument can refer to the same memory address as the path (input) argument.

Parameters
pathFile path.
strippedPathReceives the path without extension.
capacityMaximum number of characters (including null terminator).
Returns
Operation status.