summaryrefslogtreecommitdiff
path: root/2.3-1/macros/GeneralFunctions/squeezestrings.sci
blob: 049476d12deceab265a5429bb8512ebc134a5ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
function OutString = squeezestrings(InStringArray)
// function OutString = squeezestrings(InStringArray)
// -----------------------------------------------------------------
// #RNU_RES_B
// Converts an array of strings into a single string.
//
// Input data:
// InStringArray: Array of strings.
//
// Output data:
// OutString: Output string.
//
// #RNU_RES_E
// Status:
// 12-Apr-2007 -- Nutricato Raffaele: Author.
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
// -----------------------------------------------------------------

// ------------------------------
// --- Check input arguments. ---
// ------------------------------
SCI2CNInArgCheck(argn(2),1,1);

OutString = [];
for counterstrings = 1:max(size(InStringArray))
   OutString = OutString+InStringArray(counterstrings);
end

endfunction