Axiom.Scripting.ParseHelper.Combine C# (CSharp) Метод

Combine() публичный статический Метод

Helper method for taking a string array and returning a single concatenated string composed of the range of specified elements.
public static Combine ( string items, int start, int end ) : string
items string
start int
end int
Результат string
		public static string Combine( string[] items, int start, int end )
		{
			StringBuilder sb = new StringBuilder();

			for ( int i = start; i < end; i++ )
			{
				sb.AppendFormat( System.Globalization.CultureInfo.CurrentCulture, "{0} ", items[ i ] );
			}

			return sb.ToString( 0, sb.Length - 1 );
		}