String

struct String
  • Returns

    A new string with the last path component of a url

    Declaration

    Swift

    public var lastPathComponent: String

    Return Value

    A new string with the last path component of a url

  • Returns

    A new string with the path extension removed

    Declaration

    Swift

    public var stringByDeletingPathExtension: String

    Return Value

    A new string with the path extension removed