... | @@ -2542,7 +2542,7 @@ static class ExtractStringProgram |
... | @@ -2542,7 +2542,7 @@ static class ExtractStringProgram |
|
public static string ExtractString(this string source, string beginDelim, string endDelim)
|
|
public static string ExtractString(this string source, string beginDelim, string endDelim)
|
|
{
|
|
{
|
|
//source가 ""면 바로 끝.
|
|
//source가 ""면 바로 끝.
|
|
if (source == "") return "source가 \"\"";
|
|
if (source == "") return "";
|
|
|
|
|
|
//beginDelim이 source에 있는지 체크
|
|
//beginDelim이 source에 있는지 체크
|
|
//endDelim의 경우 beginDelim 이후의 존재 유무만 체크.
|
|
//endDelim의 경우 beginDelim 이후의 존재 유무만 체크.
|
... | | ... | |