method

starts_with?

starts_with?(prefix)
public

Does the string start with the specified prefix?