using System;
class Program
{
public static void Main()
{
int kk;
string str = "QUERY.0123456789.001";
string[] split = str.Split('.');
for(kk=0; kk<split.Length; kk++)
{
Console.WriteLine(">>>>[" + kk.ToString("0000") + "]:" + split[0] + "/" + split[1] + "/" + split[2]);
}
}
}
/*-------------------------------------------------------
>>>>[0000]:QUERY/0123456789/001
>>>>[0001]:QUERY/0123456789/001
>>>>[0002]:QUERY/0123456789/001
-------------------------------------------------------*/
'c# 언어' 카테고리의 다른 글
C# - 마샬링이란(Marshalling) (0) | 2022.01.13 |
---|---|
int restult = rc.RPush("QCS", bytes); (0) | 2022.01.12 |
Console.WriteLine(">" + string.Format("{0:D10}", Convert.ToInt64(str))); (0) | 2022.01.03 |
this.Text = "베트남어: Ti?ng Thai"; (0) | 2021.12.25 |
From FindWindow(), This Application is Detected!! The KeyWord is Below String (0) | 2021.12.25 |