MCPcopy Index your code
hub / github.com/simstudioai/sim / escapeODataString

Function escapeODataString

apps/sim/tools/microsoft_excel/utils.ts:120–122  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

118 * `encodeURIComponent` leaves apostrophes untouched, so the doubling must happen here.
119 */
120export function escapeODataString(value: string): string {
121 return value.replace(/'/g, "''")
122}
123
124/** Pattern for Microsoft Graph item/drive IDs: alphanumeric, hyphens, underscores, and ! (for SharePoint b!<base64> format) */
125export const GRAPH_ID_PATTERN = /^[a-zA-Z0-9!_-]+$/

Callers 3

sort_range.tsFile · 0.90
buildWorksheetRangeUrlFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected