English help on website



関数(Ver9.34対応版)
目次− 関数(文字列操作)
文字列操作
char( n1 )数値から文字コードへの変換
ascii( s1 )文字コードから数値への変換
unichar( n1 )数値から文字コードへの変換(Unicode版)
unicode( s1 )文字コードから数値への変換(Unicode版)
str( n1 )数値を10進数の文字列に変換
val( s1 )文字列を数値に変換(10進数または16進数)
hex( n1 )数値を16進数の文字列に変換
sprintf( s, arg... )書式指定の変換(V8.56以降)
split( s1, s2, s3 )文字列を分割(V8.89以降)
join( s1, n2, s3 )文字列を結合(V9.12以降)
strreplace( s1, s2, s3 )文字列の置換(V9.16以降)
leftstr( s1, n1 )文字列の左側部分
rightstr( s1, n1 )文字列の右側部分
midstr( s1, n1, n2 )文字列の中央部分
strlen( s1 )文字列の長さ
strstr( s1, s2 )文字列から文字列を検索
strrstr( s1, s2 )文字列の後ろから文字列を検索(V8.00以降)
wcsleftstr( s1, n1 )Unicode版の文字列の左側部分(V8.00以降)
wcsrightstr( s1, n1 )Unicode版の文字列の右側部分(V8.00以降)
wcsmidstr( s1, n1, n2 )Unicode版の文字列の中央部分(V8.00以降)
wcslen( s1 )Unicode版の文字列の長さ(V8.00以降)
wcsstrstr( s1, s2 )Unicode版の文字列から文字列を検索(V8.00以降)
wcsstrrstr( s1, s2 )Unicode版の文字列の後ろから文字列を検索(V8.00以降)
ucs4leftstr( s1, n1 )Unicode(UCS-4)版の文字列の左側部分(V8.96以降)
ucs4rightstr( s1, n1 )Unicode(UCS-4)版の文字列の右側部分(V8.96以降)
ucs4midstr( s1, n1, n2 )Unicode(UCS-4)版の文字列の中央部分(V8.96以降)
ucs4len( s1 )Unicode(UCS-4)版の文字列の長さ(V8.96以降)
ucs4strstr( s1, s2 )Unicode(UCS-4)版の文字列から文字列を検索(V8.96以降)
ucs4strrstr( s1, s2 )Unicode(UCS-4)版の文字列の後ろから文字列を検索(V8.96以降)
cmuleftstr( s1, n1 )カーソル移動単位版の文字列の左側部分(V8.96以降)
cmurightstr( s1, n1 )カーソル移動単位版の文字列の右側部分(V8.96以降)
cmumidstr( s1, n1, n2 )カーソル移動単位版の文字列の中央部分(V8.96以降)
cmulen( s1 )カーソル移動単位版の文字列の長さ(V8.96以降)
cmustrstr( s1, s2 )カーソル移動単位版の文字列から文字列を検索(V8.96以降)
cmustrrstr( s1, s2 )カーソル移動単位版の文字列の後ろから文字列を検索(V8.96以降)
gculeftstr( s1, n1 )書記素クラスター単位版の文字列の左側部分(V8.96以降)
gcurightstr( s1, n1 )書記素クラスター単位版の文字列の右側部分(V8.96以降)
gcumidstr( s1, n1, n2 )書記素クラスター単位版の文字列の中央部分(V8.96以降)
gculen( s1 )書記素クラスター単位版の文字列の長さ(V8.96以降)
gcustrstr( s1, s2 )書記素クラスター単位版の文字列から文字列を検索(V8.96以降)
gcustrrstr( s1, s2 )書記素クラスター単位版の文字列の後ろから文字列を検索(V8.96以降)
byteindex_to_charindex( s1, n1 )バイト位置から文字位置の変換(V8.00以降)
charindex_to_byteindex( s1, n1 )文字位置からバイト位置の変換(V8.00以降)
wcs_to_char( s1, n1 )Unicode文字位置から文字位置の変換(V8.96以降)
char_to_wcs( s1, n1 )文字位置からUnicode文字位置の変換(V8.96以降)
ucs4_to_char( s1, n1 )Unicode(UCS-4)文字位置から文字位置の変換(V8.96以降)
char_to_ucs4( s1, n1 )文字位置からUnicode(UCS-4)文字位置の変換(V8.96以降)
cmu_to_char( s1, n1 )カーソル移動単位の位置から文字位置の変換(V8.96以降)
char_to_cmu( s1, n1 )文字位置からカーソル移動単位の位置の変換(V8.96以降)
gcu_to_char( s1, n1 )書記素クラスター単位の位置から文字位置の変換(V8.96以降)
char_to_gcu( s1, n1 )文字位置から書記素クラスター単位の位置の変換(V8.96以降)