Tags » Where?

where - swift

let myObtion : Int? = 20
if let myVariable = myObtion where myObtion < 25{
 print("the final variable got \(myVariable)")
}

let myMovie = "usa makes a lot of movie on base of truth history"
switch myMovie {
case "india","bangla","nepali":
 print("them movie is not to reality")
case "malaysia":
 print("mostly movie is about ghost story.")
case let myVariable2 where myVariable2.hasPrefix("usa"):
 print("Hollywood is usa, and \(myVariable2)")
default:
 print("sorry, this is invalid opinion.")
}
Swift

Prefix and Suffix - swift

// Prefix prints begining word and Suffix print ending word from string
var str = "welcome to AzmalTech"

if str.hasPrefix("welcome") { // true
 print("Prefix exists")
}
// .hasPrefix and .hasSuffix are used for a String printing

if str.hasSuffix("AzmalTech") { // true
 print("Suffix exists")
}

// prefix and suffix of characters
let prefix = String(str.characters.prefix(3))
print(prefix)
let suffix = String(str.characters.suffix(4)) 
print(suffix)


// prefix and suffix in switch
let myMovie = "usa makes a lot of movie on base of truth history"
switch myMovie {
case "india","bangla","nepali":
 print("them movie is not to reality")
case "malaysia":
 print("mostly movie is about ghost story.")
case let myVariable2 where myVariable2.hasPrefix("usa"):
 print("Hollywood is usa, and \(myVariable2)")
default:
 print("sorry, this is invalid opinion.")
}

Swift

Where Even Are You?

After spending 13h10 in the air and 2h45 people watching at the Paris, Charles de Gaulle (CDG) Airport, I arrived in Rabat, Morocco and officially kicked off my gap year abroad 2781 miles away from home! 395 more words

Flying

Rapa Ty Dolla $ign ana video mpya akiwa na Migos ‘Where’

Videos

about where you are

never as the seeking

and called on the even

and said on the round about

and looking

and making on  the said

and for the words… 46 more words

Poems

Six Stats on the First Dates of Successful Couples

This is good info if you’re using online dating to find a meaningful relationship.

A new survey by Coffee Meets Bagel looked at people in successful relationships who met through online dating, and figured out what happened on their first dates.  104 more words

Features