python test if string starts with code example Example: python startswith str.startswith(prefix[, start[, end]])