         return newString
     }
 
-    public func trunc(_ length: Int, trailing: String? = "…") -> String {
+    func trunc(_ length: Int, trailing: String? = "…") -> String {
         if self.count > length {
             return String(self.prefix(length)) + (trailing ?? "")
         }

     *  Given a file, image.png, image@2.png, image@3.png, return the scaling factor
     *  1, 2, 3
     */
    public static func getScaleFrom(_ file :String) -> (scale: Int, file: String) {
        var scale = 1
        var fileName = file.lastPathComponent()
        fileName = (fileName as NSString).deletingPathExtension

        }
    }

    func isInteger() -> Bool {
        let numberCharacters = CharacterSet.decimalDigits.inverted
        return !self.isEmpty && self.rangeOfCharacter(from: numberCharacters) == nil
    }

    func isFloat() -> Bool {
        var floaty = false
        if (!self.isEmpty) {
            let numberCharacters = NSMutableCharacterSet.decimalDigit()
