Changed ccStrTrimToSlash to ccStrTrimToChar