Skip to content

Instantly share code, notes, and snippets.

View harbhub's full-sized avatar

Michael Harbach harbhub

View GitHub Profile
//Step One: I already have this string, which I retrieved from the SQL database
string listOfRecipients = "abc@some.com,john@doe.net";
//Step Two
Array arrayOfRecipients = listOfRecipients.Split(",");
//Step Three
int i = 0;
//Somehow I need to get this:
/*
ASPX
<div>Testing <%= myString %> Testing</div>
C#
using...;
public partial class TelerikWebForm : System.Web.UI.Page
{
public string myString = "Success";
}
@IBOutlet var webView: UIWebView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let url = NSURL(string: "https://www.google.com/")
let requestObject = NSURLRequest(URL: url!)
webView.loadRequest(requestObject)
}