check if string begins substring python code example Example: python startswith str.startswith(prefix[, start[, end]])