A
Aaron
I would like to randomly output phone numbers seperated by \ and / from a string.
s = "\231-3423/\453-1234/\231-3473/\231-3474/"
//c sharp code
private string GetPhoneNum()
{
s = "\231-3423/\453-1234/\231-3473/\231-3474/"
//randomly pick a phone num from string.
n = randomNum;
return n;//ie. 453-1234
}
Thanks
s = "\231-3423/\453-1234/\231-3473/\231-3474/"
//c sharp code
private string GetPhoneNum()
{
s = "\231-3423/\453-1234/\231-3473/\231-3474/"
//randomly pick a phone num from string.
n = randomNum;
return n;//ie. 453-1234
}
Thanks