Swift 4 Tutorial : Split and Join a String

Swift 4 split and join a String : Sometimes we need to change one part of a string . Suppose you have three different types of url for your image : “http://mysite.com/image/myimage.jpg” for default size, “http://mysite.com/image/myimage_h360_w360.jpg” for “360*360” sized image and “http://mysite.com/image/myimage_h100_w100.jpg” for “100*100” sized image. You have access only to the first url and […]