Scilab 5.3.3
      
      - Scilab help
 - Strings
 - ascii
 - blanks
 - code2str
 - convstr
 - emptystr
 - eval
 - evstr
 - grep
 - isalphanum
 - isascii
 - isdigit
 - isletter
 - isnum
 - justify
 - length
 - part
 - regexp
 - sci2exp
 - str2code
 - strcat
 - strchr
 - strcmp
 - strcmpi
 - strcspn
 - strindex
 - string
 - strings
 - stripblanks
 - strncpy
 - strrchr
 - strrev
 - strsplit
 - strspn
 - strstr
 - strsubst
 - strtod
 - strtok
 - tokenpos
 - tokens
 - tree2code
 
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
strcat
文字列を結合する
呼び出し手順
txt=strcat(vector_of_strings [,string_added]) txt=strcat(vector_of_strings [,string_added, ["flag"]])
パラメータ
- vector_of_strings
 文字列ベクトル
- string_added
 追加される文字列, デフォルト値は空の文字列
""- txt
 文字列
- "flag"
 文字列 ( "r" は行行列を返し, "c" は列行列を返します)
説明
txt=strcat(vector_of_strings)は文字列を結合します
     :
    txt=vector_of_strings(1)+...+vector_of_strings(n)
txt=strcat(vector_of_strings,string_added)
    は
    txt=vector_of_strings(1)+string_added+...+string_added+vector_of_strings(n)を返します.
プラス記号の動作は同じです: "a"+"b" は
    strcat(["a","b"])と同じです.
vector_of_strings の大きさが1の場合, 
    txt=vector_of_strings(1)を返します.
strcat('A','B') は 'A' を返し,
	strcat(['A','B'])のように 'AB'とはなりません.
例
strcat(string(1:10),',') strcat(["a","b"]) strcat(["a","b"],'|') strcat('A') strcat('A','B') strcat(['A','B']) strcat(['A','B'],'') m =["a" "b" ; "c" "d"]; strcat(m, "r") strcat(m, "", "r") strcat(m, "", "c")
| << str2code | Strings | strchr >> |