Scilab-Branch-6.1-GIT
      
      - Scilabヘルプ
 - Strings
 - ascii
 - asciimat
 - blanks
 - char
 - convstr
 - emptystr
 - evstr
 - grep
 - isalphanum
 - isascii
 - isdigit
 - isletter
 - isnum
 - justify
 - length
 - part
 - prettyprint
 - regexp
 - sci2exp
 - strcat
 - strchr
 - strcmp
 - strcspn
 - strindex
 - string
 - stripblanks
 - strncpy
 - strrchr
 - strrev
 - strsplit
 - strspn
 - strstr
 - strsubst
 - strtod
 - strtok
 - tokenpos
 - tokens
 
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
strrchr
文字列の中で指定した文字が最後に現れる場所を探す
呼び出し手順
res = strrchr(str1, char)
引数
- str1
 文字列または文字列の行列
- char
 文字.
- res
 文字列または文字列の行列
説明
res = strrchr(str1, char)は,
            文字列str1の中で指定した文字
            charが最後に現れる場所を返します.
charはstr1と同じ次元
            または1文字である必要があります.
例
strrchr('This is a sample string','s') strrchr(['This is a sample string','in scilab'],'s') strrchr(['This is a sample string','in scilab'],['s','a'])
| Report an issue | ||
| << strncpy | Strings | strrev >> |