Ensures that path contains slashes '/'
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax public static string EnsureSlashes(
string path,
bool trimEnd = false
)
Parameters
- path
- Type: SystemString
Path to convert - trimEnd (Optional)
- Type: SystemBoolean
If true, the end of path is trimmed for slash
Return Value
Type:
StringSee Also