# US 2019/0294735 A1 · Search functions for spreadsheets

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0294735 A1
- Document ID: US20190294735A1
- Status: Published application
- Kind: A1
- Application number: 15/935,964
- Filed: 2018-03-26
- Published: 2019-09-26
- Earliest claimed: 2018-03-26
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Edward P. Hogan; Jonathan R. Speicher; Matthew R. Lehrian; Shawn P. Flisakowski
- Web page: https://patentgrep.com/patent/US20190294735A1

## CPC

- G06F 16/90344: {by using string matching techniques}
- G06F 40/18: of spreadsheets (form-filling G06F40/174)
- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 16/334: Query execution (filtering based on additional data G06F16/335)
- G06F 16/9038: Presentation of query results
- G06F 40/279: Recognition of textual entities
- G06F 16/332: Query formulation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments are disclosed in which a process receives, via a graphical user interface (GUI) of a spreadsheet application, a function call. The function call includes a source string attribute identifying a string and a search string attribute identifying a substring to be identified in the string. The process performs a function associated with the function call by searching for the substring in the string and subsequently returning a subset of the string proximate to a location of the substring in the string.

## Claims

### Claim 1

A tangible, non-transitory, machine-readable medium, comprising machine-readable instructions that, when executed by one or more processors, cause the one or more processors to:
receive, via a graphical user interface (GUI) of a spreadsheet application, a function call, the function call comprising:
a source string attribute, the source string attribute identifying a string;
a search string attribute, the search string attribute identifying a substring to be identified in the string;
perform a function associated with the function call, by:
searching for the substring in the string; and
returning a subset of the string proximate to a location of the substring in the string.

### Claim 2 (depends on 1)

The machine-readable medium of claim 1, wherein:
the function comprises a function to return text before the substring; and
the subset of the string that is returned comprises a portion of the string that is located before the substring in the string.

### Claim 3 (depends on 1)

The machine-readable medium of claim 1, wherein:
the function comprises a function to return text after the substring; and
the subset of the string that is returned comprises a portion of the string that is located after the substring in the string.

### Claim 4 (depends on 1)

The machine-readable medium of claim 1, wherein:
the function comprises a second search string attribute, the second search string attribute identifying a second substring to be identified in the string;
the function comprises a function to return text between the substring and the second substring; and
the subset of the string that is returned comprises a portion of the string that is located between the substring and the second substring in the string.

### Claim 5 (depends on 1)

The machine-readable medium of claim 1, wherein the source string attribute comprises a cell reference to a cell containing the string.

### Claim 6 (depends on 1)

The machine-readable medium of claim 1, wherein the source string attribute comprises the string.

### Claim 7 (depends on 1)

The machine-readable medium of claim 1, wherein the search string attribute comprises a cell reference to a cell containing the substring.

### Claim 8 (depends on 1)

The machine-readable medium of claim 1, wherein the search string attribute comprises the substring.

### Claim 9 (depends on 1)

The machine-readable medium of claim 1, comprising machine-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform the function, by:
determining if a value identified with the source string attribute is a string value; and
converting the value to a string value when the source string attribute is not a string value.

### Claim 10 (depends on 9)

The machine-readable medium of claim 9, wherein determining the value comprises a currency, a date, a time, a number, or any combination thereof, and setting a textual representation of the value as the string value.

### Claim 11 (depends on 1)

The machine-readable medium of claim 1, comprising machine-readable instructions that, when executed by the one or more processors, cause the one or more processors to:
maintain a dependency tree identifying dependent cells for a cell in the GUI containing the function call, the dependent cells comprising cells referenced by the source string attribute, the search string attribute, or both; and
perform the function, by:
determining if the dependent cells have changed; and
recomputing a result of the function call when the dependent cells have changed.

### Claim 12 (depends on 1)

The machine-readable medium of claim 1, comprising machine-readable instructions that, when executed by the one or more processors, cause the one or more processors to output an error indication when the substring is not identified in the string.

### Claim 13

A processor-implemented method for receiving a function call, comprising:
receiving, via a graphical user interface (GUI) of a spreadsheet application, the function call, the function call comprising:
a source string attribute, the source string attribute identifying a string;
a search string attribute, the search string attribute identifying a substring to be identified in the string;
performing a function associated with the function call, by:
searching for the substring in the string; and
returning a subset of the string proximate to a location of the substring in the string.

### Claim 14 (depends on 13)

The processor-implemented method of claim 13, wherein:
the function comprises a function to return text before the substring; and
the subset of the string that is returned comprises a portion of the string that is located before the substring in the string.

### Claim 15 (depends on 13)

The processor-implemented method of claim 13, wherein:
the function comprises a function to return text after the substring; and
the subset of the string that is returned comprises a portion of the string that is located after the substring in the string.

### Claim 16 (depends on 13)

The processor-implemented method of claim 13, wherein:
the function comprises a second search string attribute, the second search string attribute identifying a second substring to be identified in the string;
the function comprises a function to return text between the substring and the second substring; and
the subset of the string that is returned comprises a portion of the string that is located between the substring and the second substring in the string.

### Claim 17

An electronic device, comprising:
a display configured to display content; and
at least one processor communicatively coupled to the display, wherein the at least one processor comprises instructions to:
receive, via a graphical user interface (GUI) of a spreadsheet application, a function call, the function call comprising:
a source string attribute, the source string attribute identifying a string;
a search string attribute, the search string attribute identifying a substring to be identified in the string;
perform a function associated with the function call, by:
searching for the substring in the string; and
returning a subset of the string proximate to a location of the substring in the string.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein:
the function comprises a function to return text before the substring; and
the subset of the string that is returned comprises a portion of the string that is located before the substring in the string.

### Claim 19 (depends on 17)

The electronic device of claim 17, wherein:
the function comprises a function to return text after the substring; and
the subset of the string that is returned comprises a portion of the string that is located after the substring in the string.

### Claim 20 (depends on 17)

The electronic device of claim 17, wherein:
the function comprises a second search string attribute, the second search string attribute identifying a second substring to be identified in the string;
the function comprises a function to return text between the substring and the second substring; and
the subset of the string that is returned comprises a portion of the string that is located between the substring and the second substring in the string.
