Skip to content

Commit

Permalink
ODATA-1619: Consistently use "parameter" when describing canonical fu…
Browse files Browse the repository at this point in the history
…nctions (#219)
  • Loading branch information
ralfhandl authored Dec 6, 2023
1 parent 04509e9 commit ee0c1ae
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/odata-url-conventions/odata-url-conventions.html
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,8 @@ <h5 id="51157-substring"><a name="substring" href="#substring">5.1.1.5.7 <code>s
Edm.String substring(Edm.String,Edm.Int32,Edm.Int32)
OrderedCollection substring(OrderedCollection,Edm.Int32)
OrderedCollection substring(OrderedCollection,Edm.Int32,Edm.Int32)</code></pre>
<p>The two-argument <code>substring</code> function with string parameter values returns a substring of the first parameter string value, starting at the Nth character and finishing at the last character (where N is the second parameter integer value). The three-argument <code>substring</code> function with string parameter values returns a substring of the first parameter string value identified by selecting up to M characters starting at the Nth character (where N is the second parameter integer value and M is the third parameter integer value).</p>
<p>The two-argument <code>substring</code> function with ordered collection parameter values returns an ordered collection consisting of all items of the first collection starting at the Nth item and finishing at the last item. The three-argument <code>substring</code> function with ordered collection parameter values returns an ordered collection consisting of up to M items of the first collection starting at the Nth item (where N is the second parameter integer value and M is the third parameter integer value).</p>
<p>The two-parameter <code>substring</code> function with string parameter values returns a substring of the first parameter string value, starting at the Nth character and finishing at the last character (where N is the second parameter integer value). The three-parameter <code>substring</code> function with string parameter values returns a substring of the first parameter string value identified by selecting up to M characters starting at the Nth character (where N is the second parameter integer value and M is the third parameter integer value).</p>
<p>The two-parameter <code>substring</code> function with ordered collection parameter values returns an ordered collection consisting of all items of the first collection starting at the Nth item and finishing at the last item. The three-parameter <code>substring</code> function with ordered collection parameter values returns an ordered collection consisting of up to M items of the first collection starting at the Nth item (where N is the second parameter integer value and M is the third parameter integer value).</p>
<p>The start index N is zero-based.</p>
<p>If the start index N is larger than the length of the string/collection, an empty string/collection is returned.</p>
<p>If the length M is larger than the length of the remaining string/collection starting at the Nth character/item, as many characters/items as are available are returned.</p>
Expand Down
8 changes: 4 additions & 4 deletions docs/odata-url-conventions/odata-url-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2166,19 +2166,19 @@ OrderedCollection substring(OrderedCollection,Edm.Int32)
OrderedCollection substring(OrderedCollection,Edm.Int32,Edm.Int32)
```

The two-argument `substring` function with string parameter values
The two-parameter `substring` function with string parameter values
returns a substring of the first parameter string value, starting at the
Nth character and finishing at the last character (where N is the second
parameter integer value). The three-argument `substring` function with
parameter integer value). The three-parameter `substring` function with
string parameter values returns a substring of the first parameter
string value identified by selecting up to M characters starting at the
Nth character (where N is the second parameter integer value and M is
the third parameter integer value).

The two-argument `substring` function with ordered collection parameter
The two-parameter `substring` function with ordered collection parameter
values returns an ordered collection consisting of all items of the
first collection starting at the Nth item and finishing at the last
item. The three-argument `substring` function with ordered collection
item. The three-parameter `substring` function with ordered collection
parameter values returns an ordered collection consisting of up to M
items of the first collection starting at the Nth item (where N is the
second parameter integer value and M is the third parameter integer
Expand Down
8 changes: 4 additions & 4 deletions odata-url-conventions/5 Query Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,19 +725,19 @@ OrderedCollection substring(OrderedCollection,Edm.Int32)
OrderedCollection substring(OrderedCollection,Edm.Int32,Edm.Int32)
```

The two-argument `substring` function with string parameter values
The two-parameter `substring` function with string parameter values
returns a substring of the first parameter string value, starting at the
Nth character and finishing at the last character (where N is the second
parameter integer value). The three-argument `substring` function with
parameter integer value). The three-parameter `substring` function with
string parameter values returns a substring of the first parameter
string value identified by selecting up to M characters starting at the
Nth character (where N is the second parameter integer value and M is
the third parameter integer value).

The two-argument `substring` function with ordered collection parameter
The two-parameter `substring` function with ordered collection parameter
values returns an ordered collection consisting of all items of the
first collection starting at the Nth item and finishing at the last
item. The three-argument `substring` function with ordered collection
item. The three-parameter `substring` function with ordered collection
parameter values returns an ordered collection consisting of up to M
items of the first collection starting at the Nth item (where N is the
second parameter integer value and M is the third parameter integer
Expand Down

0 comments on commit ee0c1ae

Please sign in to comment.