文字列

凡例
→対応コードあり
→直接対応していないが代替の書き方あり
→対応コードなし
-未確認
( .. )ローカライズまだ
Feature Example Python
pytest
PHP
PHPUnit
Swift
Testing
Csharp
xunit
Bash
bats
Powershell
pester
C++
GoogleTest
JavaScript
Jest
Kotlin
jUnit
初期化 カラ文字列 → → → - → → → - →
生文字列 ( \ によるエスケープを抑制 ) → → - - → - - - →
文字列中の変数補完 → → - - - → - - →
文字列中の数式補完 → → - - - → - - →
( assign_escaped_string ) → → → - → - - - →
( assign_multiline_string ) → → - - - - - - →
( assign_multiline_string_trailing_newline_added_or_not ) → → - - - - - - -
( escape_and_quote ) → → - - - - - - →
( is_single_and_double_quote_differ ) → → - - - - - - -
( here_document ) → → - - - - - - →
( string_formatting ) → → - - - - - - -
( regexp ) ( regexp_is_match ) → - - - → - - - -
( regexp_find_first ) → - - - - - - - -
( regexp_find_all ) → - - - - - - - -
( regexp_capture_first ) → - - - - - - - -
( regexp_capture_all ) → - - - - - - - -
( regexp_loop_with_match_result ) → - - - - - - - -
( regexp_flags ) → - - - - - - - -
( regexp_split ) → - - - - - - - -
( regexp_replace_first ) → - - - - - - - -
( regexp_replace_all ) → - - - - - - - -
( regexp_replace_backward_reference ) → - - - - - - - -
( search_backward_reference ) → - - - - - - - -
( string_convert ) ( trim_whitespace ) → → - - - - - - -
( trim_leading_whitespace ) → → - - - - - - -
( trim_trailing_whitespace ) → → - - - - - - -
( trim_trailing_newline_characters ) → → - - - - - - -
( trim_indent ) → → - - - - - - →
( encode_uri_for_query ) → → - - - - - - →
( encode_uri_for_path ) → → - - - - - - →
( encode_uri_slash_escaped_or_not ) → → - - - - - - -
( decode_uri_for_query ) → → - - - - - - →
( decode_uri_for_path ) → → - - - - - - →
( escape_html ) → → - - - - - - →
( unescape_html ) → → - - - - - - →
( string_to_hex ) → → - - - - - - →
( hex_to_string ) → → - - - - - - →
( convert_charset ) → → - - - - - - →
( normalize_nfc ) → → - - - - - - →
( charcode_to_char ) → → - - - - - - →
( char_to_charcode ) → → - - - - - - →
( expand_tabs ) → → - - - - - - →
( tabify ) → → - - - - - - →
( capitalize ) → → - - - - - - →
( titlize ) → → - - - - - - →
( to_upper ) → → - - → - - - →
( to_lower ) → → - - → - - - →
( reverse ) → → - - - - - - →
( zen_to_han_alnum_only ) → → - - - - - - →
( han_to_zen_alnum_only ) → → - - - - - - →
( trim ) - - - - → - - - →
( trim_first ) - - - - → - - - →
( trim_last ) - - - - → - - - →
( string_format ) ( printf_like_format ) → - - - - - - - -
( format_with_thousands_separator ) → - - - - - - - -
( padding_space_right ) → - - - - - - - -
( padding_space_left ) → - - - - - - - -
( padding_zero ) → - - - - - - - -
( string_info ) ( string_character_size ) → - - - → - - - -
( string_byte_size ) → - - - → - - - -
( string_count_occurrence ) → - - - → - - - -
( string_is_x ) ( string_is_empty ) → → - → - - - - -
( string_is_null_or_empty ) → - - → - - - - -
( string_contains ) → - - → - - - - -
( string_starts_with ) → → - → → - - - -
( string_ends_with ) → → - → - - - - -
( is_alnum ) → - - → - - - - -
( is_alnum_multibyte ) → - - → - - - - -
( is_alpha ) → - - → - - - - -
( is_digit ) → - - → - - - - -
( is_space ) → - - → - - - - -
( is_lower ) → - - → - - - - -
( is_upper ) → - - → - - - - -
( string_join ) ( string_concat ) → - - - - - - - -
( string_append ) → - - - - - - - -
( string_join_with_separator ) → - - - - - - - -
( string_builder ) → - - - - - - - -
( string_repeat ) → - - - - - - - -
( string_parse_value ) ( to_string ) → - - - - - - - -
( parse_int ) → - - - - - - - -
( parse_float ) → - - - - - - - -
( parse_int_starts_with_zero ) → - - - - - - - -
( parse_int_empty ) → - - - - - - - -
( parse_int_from_float_string ) → - - - - - - - -
( parse_int_contains_alphabet ) → - - - - - - - -
( string_replace ) ( replace_all ) → → - - - - - - -
( replace_first ) → → - - - - - - -
( replace_all_with_regexp ) → → - - - - - - -
( replace_first_with_regexp ) → → - - - - - - -
( replace_with_range ) → → - - - - - - -
( string_search ) ( count_occurrence ) → - - - - - - - -
( index_of_string ) → - - - - - - - -
( index_of_string_not_found ) → - - - - - - - -
( index_of_string_from_end ) → - - - - - - - -
( string_slice ) ( get_first_character ) → - - - - - - - -
( get_nth_character ) → - - - - - - - -
( get_last_character ) → - - - - - - - -
( slice_from_m_to_n ) → → - - - - → - -
( slice_from_m_to_end ) → → - - - - → - -
( slice_from_m_with_length ) → → - - - - → - -
( take_first_n ) → → - - - - - - -
( take_last_n ) → → - - - - → - -
( drop_first_n ) → → - - - - → - -
( drop_last_n ) → → - - - - → - -
( remove_suffix ) → → - - → - - - -
( remove_prefix ) → → - - → - - - -
( remove_nth_character ) → - - - - - - - -
( remove_range ) → - - - - - - - -
( replace_range ) → - - - - - - - -
( slice_out_of_range ) → - - - - - - - -
( string_split ) ( string_split_to_characters ) → → - - - - - - -
( string_split_with_separator ) → → - - - - - - -
( string_split_with_regexp ) → → - - - - - - -
( split_words ) → → - - - - - - -
( join_strings ) → → - - - - - - -
( string_split_lines ) → → - - - - - - -
( split_when_last_element_is_empty ) → → - - - - - - -