移動先: 概要 戻り値 関連項目. MEL 例.

概要

int endsWith(string $s, string $suffix)

このプロシージャは、文字列 $s が文字列 $suffix で終了する場合に true を返します。

戻り値

なし

関連項目

endString, startString, startsWith

MEL 例

		endsWith("abc", "bc");
		// Result: 1 //

		endsWith("abc", "ab");
		// Result: 0 //

		endsWith("abc", "");
		// Result: 1 //