SMS20Api.Contact.parsePhone C# (CSharp) Method

parsePhone() private method

private parsePhone ( ) : void
return void
        private void parsePhone()
        {
            int i1 = this.Id.IndexOf(":");
            if (i1 > -1)
            {
                int i2 = this.Id.IndexOf("@");
                if (i2 > -1)
                    this.Phone = this.Id.Substring(i1 + 1, i2 - i1-1);
            }
        }