check if string at beginning of strings python code example Example: python startswith str.startswith(prefix[, start[, end]])