CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of vcard
C#
partial class vCardExport : System.Web.UI.Page
{
 
    private const string nameFirst = "FirstName";
    private const string nameLast = "LastName";
    private const string nameMiddle = "MiddleName";
    private const string nameTitle = "Mr";
    private const string email = "firstname.lastname@domain.com";
    private const string uRL = "www.geekswithblogs.net/sanjayu";
    private const string telephone = "555 555 5555";
by Kenny Nguyen   November 10, 2010 @ 7:47am
Tags: C#, vCard
286 Views
no comments
 
function vCardTohCard(io) {
    var testStr = io.value.replace(/\n/gm, "");
    if (testStr.match(/BEGIN:VCARD.*END:VCARD/im)) {
        var vCardArr = io.value.match(/^(.*)$/gm);
        var vCardTmp = {};
        for (var prop in vCardArr) {
            if (vCardArr[prop] != null) {
                var arr = vCardArr[prop].match(/(.*?):(.*)/);
                if ((arr) && (arr.length = 3)) {
                    if (vCardArr[prop].match(/URL/i)) {
by Mikael Henriksson   December 02, 2009 @ 9:39am
Tags: vcard
242 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate