method
starts_with?
v2.3.8 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::String::StartsEndsWith
starts_with?(prefix)public
Does the string start with the specified prefix?
starts_with?(prefix)Does the string start with the specified prefix?