Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilabヘルプ >> Strings > strcmpi

strcmpi

文字列を比較 (大文字小文字を区別) This function is obsolete.

呼び出し手順

res = strcmpi(string_one,string_two)

引数

string_one

文字列または文字列の行列

string_two

文字列または文字列の行列

res

整数の行列.

説明

res = strcmpi(string_one, string_two)は, 文字列の間の関係を示す内部的な値を返します. 2つの文字列は辞書式順序により 比較されます.

string_onestring_two に等しい場合(大文字小文字を区別しません), 値は 0 となり, string_onestring_twoより大きい場合に1, それ以外は-1となります.

This function is obsolete. Please use strcmp(s1,s1,"i") instead.

TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
strcmpi(TXT1,TXT2)
strcmpi(TXT1,'scilab')

参照

  • strcat — 文字列を結合する
  • strcmp — 文字列を比較

History

バージョン記述
6.0 Function tagged as obsolete. Will be removed from Scilab 6.1
Report an issue
<< strcmp Strings strcspn >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:10:32 CET 2017