Returns one of the components of a field’s string output after splitting it with a delimiter. Common use cases for this method include discarding unwanted data from a field’s output, and splitting output from one field into separate fields.
Parameters
The following parameters are in the computed field’s global Method parameter:
key
value
description
id (required)
split
source_id (required)
a field id in the current config
The id of the field to split into substrings.
separator (required)
string
The separator to use in the split.
index
integer
The zero-based index of the substring to return after the split. If unspecified, returns all the split substrings as an array.
Examples
The following example shows splitting a field’s output to extract a first and last name.Config
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Sensible","colors":{"primary":"#4B0532","light":"#611646","dark":"#4B0532"},"favicon":"/favicon.png","logo":{"light":"https://mintlify.s3-us-west-1.amazonaws.com/sensible/logo/light.png","dark":"https://mintlify.s3-us-west-1.amazonaws.com/sensible/logo/dark.png"},"navbar":{"links":[{"label":"Sign In","href":"https://app.sensible.so/signin/"}],"primary":{"type":"button","label":"Try Sensible","href":"https://app.sensible.so/register/"}},"footer":{"socials":{"twitter":"https://twitter.com/sensiblehq","linkedin":"https://www.linkedin.com/company/usesensible/"}},"navigation":{"global":{"anchors":[{"anchor":"Tutorials","href":"https://www.sensible.so/learn","icon":"book-open"},{"anchor":"API Status","href":"https://sensible.statuspage.io/","icon":"signal-bars"},{"anchor":"Blog","href":"https://www.sensible.so/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sensible","hasAudioNarration":false,"actualSubdomain":"sensible","customDomains":[],"gitSource":{"type":"github","owner":"sensible-hq","repo":"test-sensible-refactor-upgrade","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae91e75695ee6f94e42be39:success","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"default","tag":"Documentation","count":124},{"language":"default","tag":"SenseML Reference","count":84},{"language":"default","tag":"API Reference","count":38},{"language":"default","tag":"Configuration","count":30},{"language":"default","tag":"Methods","count":16},{"language":"default","tag":"Concepts","count":14},{"language":"default","tag":"Extraction","count":13},{"language":"default","tag":"Changelog","count":12},{"language":"default","tag":"Preprocessors","count":12},{"language":"default","tag":"Best Practices","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"senseml-reference/computed-field-methods/split","slug":"/senseml-reference/computed-field-methods/split","pageMetadata":{"title":"Split","description":null,"href":"/senseml-reference/computed-field-methods/split"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,img:`img`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns one of the components of a field’s string output after splitting it with a delimiter. Common use cases for this method include discarding unwanted data from a field’s output, and splitting output from one field into separate fields.`}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(_components.p,{children:[`The following parameters are in the computed field’s `,_jsx(_components.a,{href:`/senseml-reference/computed-field-methods/index-computed-field-methods#parameters`,children:`global Method`}),` parameter:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`key`}),_jsx(_components.th,{children:`value`}),_jsx(_components.th,{children:`description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`id (`,_jsx(_components.strong,{children:`required`}),`)`]}),_jsx(_components.td,{children:`split`}),_jsx(_components.td,{})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`source_id (`,_jsx(_components.strong,{children:`required`}),`)`]}),_jsx(_components.td,{children:`a field id in the current config`}),_jsx(_components.td,{children:`The id of the field to split into substrings.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`separator (`,_jsx(_components.strong,{children:`required`}),`)`]}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The separator to use in the split.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`index`}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`The zero-based index of the substring to return after the split. If unspecified, returns all the split substrings as an array.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(_components.p,{children:`The following example shows splitting a field’s output to extract a first and last name.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Config`})}),`\n`,_jsx(CodeBlock,{filename:`JSON`,numberOfLines:`32`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"_driver_name_raw\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"anchor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"name of driver\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"position\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"below\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"computed_fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"driver_name_last\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"split\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"_driver_name_raw\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"separator\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\" \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"driver_name_first\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"split\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"_driver_name_raw\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"separator\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\" \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"index\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example document`})}),`\n`,_jsx(_components.p,{children:`The following image shows the example document used with this example config:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://mintlify.s3-us-west-1.amazonaws.com/sensible/assets/v0/images/screenshots/split.png`,alt:`Click to enlarge`})}),`\n`,_jsx(Table,{children:_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Example document`}),_jsx(_components.th,{children:_jsx(_components.a,{href:`https://raw.githubusercontent.com/sensible-hq/sensible-docs/main/readme-sync/assets/v0/pdfs/split.pdf`,children:`Download link`})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Output`})}),`\n`,_jsx(CodeBlock,{filename:`JSON`,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"_driver_name_raw\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Petar Petrov\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"driver_name_last\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Petrov\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"driver_name_first\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Petar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\"`\"})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Split","description":null,"href":"/senseml-reference/computed-field-methods/split"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Parameters","slug":"parameters","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sensible/bc07317c9f569894/script.js"],"subdomain":"sensible","siteName":"Sensible","title":"Split - Sensible","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"senseml-reference/computed-field-methods/split.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Sensible\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/sensible/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/sensible/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/sensible/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/sensible/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Split - Sensible\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sensible\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sensible.mintlify.site/_mintlify/api/og/v2?division=Computed+Field+Methods\u0026amp;title=Split\u0026amp;theme=8c220aab359c87e50aa52132\u0026amp;signature=93ae20b283919eb290a71807b9bb51646c6008b6da52f21f6afc9f178198931a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Split - Sensible\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sensible.mintlify.site/_mintlify/api/og/v2?division=Computed+Field+Methods\u0026amp;title=Split\u0026amp;theme=8c220aab359c87e50aa52132\u0026amp;signature=93ae20b283919eb290a71807b9bb51646c6008b6da52f21f6afc9f178198931a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/sensible/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sensible\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4B0532\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/senseml-reference/computed-field-methods/split.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sensible.mintlify.app/#organization\",\"name\":\"Sensible\",\"url\":\"https://sensible.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3-us-west-1.amazonaws.com/sensible/logo/light.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sensible.mintlify.app#website\",\"name\":\"Sensible\",\"url\":\"https://sensible.mintlify.app\",\"publisher\":{\"@id\":\"https://sensible.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split#webpage\",\"url\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split\",\"name\":\"Split\",\"isPartOf\":{\"@id\":\"https://sensible.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SenseML Reference\",\"item\":\"https://sensible.mintlify.app/senseml-reference/senseml-reference-introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Computed Field Methods\",\"item\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/index-computed-field-methods\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Split\",\"item\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split#article\",\"headline\":\"Split\",\"name\":\"Split\",\"url\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split\",\"mainEntityOfPage\":{\"@id\":\"https://sensible.mintlify.app/senseml-reference/computed-field-methods/split#webpage\"},\"publisher\":{\"@id\":\"https://sensible.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://sensible.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sensible\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sensible\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/senseml-reference/computed-field-methods/split.md","siteName":"Sensible","nav":{"global":{"anchors":[{"anchor":"Tutorials","href":"https://www.sensible.so/learn","icon":"book-open"},{"anchor":"API Status","href":"https://sensible.statuspage.io/","icon":"signal-bars"},{"anchor":"Blog","href":"https://www.sensible.so/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Welcome","pages":[{"title":"Getting started","href":"/welcome/getting-started-ai"},{"title":"Integrating","href":"/welcome/integrate"},{"title":"Choosing an extraction approach","href":"/welcome/author"}]},{"group":"Integrations","pages":[{"title":"SDK guides","href":"/integrations/sdk-guides"},{"group":"Zapier Overview","pages":[{"title":"Zapier overview","sidebarTitle":"Overview","href":"/integrations/zapier/index-zapier"},{"title":"Zapier tutorial","href":"/integrations/zapier/zapier-getting-started"},{"title":"Advanced Zapier tutorial","href":"/integrations/zapier/zapier-tutorial-2"}]},{"title":"API quickstart","href":"/integrations/quickstart"},{"group":"Quick Extraction","pages":[{"title":"Quick extraction","sidebarTitle":"Overview","href":"/integrations/quick-extraction/index-quick-extraction"},{"title":"SenseML to spreadsheet reference","href":"/integrations/quick-extraction/excel-reference"}]}]},{"group":"LLM-based Extractions","pages":[{"group":"Prompt Tips","pages":[{"title":"Prompt tips","sidebarTitle":"Overview","href":"/llm-based-extractions/prompt-tips/index-prompt-tips"},{"title":"Query group extraction tips","href":"/llm-based-extractions/prompt-tips/query-group-tips"},{"title":"List tips","href":"/llm-based-extractions/prompt-tips/list-tips"},{"title":"NLP table extraction tips","href":"/llm-based-extractions/prompt-tips/table-tips"}]},{"title":"Advanced prompt configuration","href":"/llm-based-extractions/prompt"}]},{"group":"Layout-based Extractions","pages":[{"title":"Getting started with layout-based extractions","href":"/layout-based-extractions/getting-started"},{"title":"Out-of-the-box extractions","href":"/layout-based-extractions/library-quickstart"},{"title":"Multi-document extractions","href":"/layout-based-extractions/portfolio"},{"title":"Repeating layouts","href":"/layout-based-extractions/repeat-layouts"},{"group":"App Guide","pages":[{"title":"App guide","sidebarTitle":"Overview","href":"/layout-based-extractions/app-guide/index-app-guide"},{"title":"Color coding","href":"/layout-based-extractions/app-guide/color"},{"title":"Sensible walkthrough","href":"/layout-based-extractions/app-guide/ui"}]}]},{"group":"Document Type Classification","pages":[{"title":"Classifying documents by type","href":"/document-type-classification/classify"}]},{"group":"Best Practices","pages":[{"title":"Troubleshooting LLM extractions","href":"/best-practices/troubleshoot-llms"},{"title":"Monitoring extractions","href":"/best-practices/metrics"},{"title":"Qualifying LLM accuracy","href":"/best-practices/confidence"},{"title":"Validating extractions","href":"/best-practices/validate-extractions"},{"group":"Tutorials","pages":[{"title":"Tutorials","sidebarTitle":"Overview","href":"/best-practices/tutorials/index-tutorials"},{"title":"Using fallbacks","href":"/best-practices/tutorials/fallbacks"},{"title":"Optimizing extraction performance","href":"/best-practices/tutorials/performance"},{"title":"Testing before integrating configs","href":"/best-practices/tutorials/test-before-integrating-configs"},{"title":"Troubleshooting","href":"/best-practices/tutorials/troubleshoot"},{"title":"Extracting handwriting and OCR text","href":"/best-practices/tutorials/handwriting"},{"title":"Go-live checklist","href":"/best-practices/tutorials/go-live"}]}]},{"group":"SenseML Reference","pages":[{"title":"SenseML reference introduction","href":"/senseml-reference/senseml-reference-introduction"},{"group":"Field Query Object","pages":[{"title":"Field query object","sidebarTitle":"Overview","href":"/senseml-reference/field-query-object/index-field-query-object"},{"title":"Anchor object","href":"/senseml-reference/field-query-object/anchor"},{"title":"Match object","href":"/senseml-reference/field-query-object/match"},{"title":"Method object","href":"/senseml-reference/field-query-object/method"},{"title":"Types","href":"/senseml-reference/field-query-object/types"}]},{"group":"Methods","pages":[{"title":"Methods","sidebarTitle":"Overview","href":"/senseml-reference/methods/index-methods"},{"title":"Box","href":"/senseml-reference/methods/box"},{"title":"Checkbox","href":"/senseml-reference/methods/checkbox"},{"title":"Column","href":"/senseml-reference/methods/column"},{"title":"Document range","href":"/senseml-reference/methods/document-range"},{"title":"Fixed table","href":"/senseml-reference/methods/fixed-table"},{"title":"Label","href":"/senseml-reference/methods/label"},{"title":"Intersection","href":"/senseml-reference/methods/intersection"},{"title":"Nearest checkbox","href":"/senseml-reference/methods/nearest-checkbox"},{"title":"Paragraph","href":"/senseml-reference/methods/paragraph"},{"title":"Passthrough","href":"/senseml-reference/methods/passthrough"},{"title":"Regex","href":"/senseml-reference/methods/regex"},{"title":"Region","href":"/senseml-reference/methods/region"},{"title":"Row","href":"/senseml-reference/methods/row"},{"title":"Signature","href":"/senseml-reference/methods/signature"},{"title":"Text Table","href":"/senseml-reference/methods/text-table"}]},{"group":"LLM based methods","pages":[{"title":"LLM-based methods","sidebarTitle":"Overview","href":"/senseml-reference/llm-based-methods/index-llm-based-methods"},{"title":"List","href":"/senseml-reference/llm-based-methods/list"},{"title":"NLP table","href":"/senseml-reference/llm-based-methods/nlp-table"},{"title":"Query group","href":"/senseml-reference/llm-based-methods/query-group"},{"title":"Summarizer","href":"/senseml-reference/llm-based-methods/summarizer"}]},{"group":"Preprocessors","pages":[{"title":"Preprocessors","sidebarTitle":"Overview","href":"/senseml-reference/preprocessors/index-preprocessors"},{"title":"Deskew","href":"/senseml-reference/preprocessors/deskew"},{"title":"Ligature","href":"/senseml-reference/preprocessors/ligature"},{"title":"Merge lines","href":"/senseml-reference/preprocessors/merge-lines"},{"title":"NLP","href":"/senseml-reference/preprocessors/nlp"},{"title":"OCR preprocessor","href":"/senseml-reference/preprocessors/ocr-preprocessor"},{"title":"Page range","href":"/senseml-reference/preprocessors/page-range"},{"title":"Remove footer","href":"/senseml-reference/preprocessors/remove-footer"},{"title":"Remove header","href":"/senseml-reference/preprocessors/remove-header"},{"title":"Rotate page","href":"/senseml-reference/preprocessors/rotate-page"},{"title":"Scale","href":"/senseml-reference/preprocessors/scale"},{"title":"Split lines","href":"/senseml-reference/preprocessors/split-lines"}]},{"group":"Computed Field Methods","pages":[{"title":"Computed field methods","sidebarTitle":"Overview","href":"/senseml-reference/computed-field-methods/index-computed-field-methods"},{"title":"Concatenate","href":"/senseml-reference/computed-field-methods/concatenate"},{"title":"Constant","href":"/senseml-reference/computed-field-methods/constant"},{"title":"Mapper","href":"/senseml-reference/computed-field-methods/mapper"},{"title":"Pick values","description":null,"href":"/senseml-reference/computed-field-methods/pick-values"},{"title":"Split","href":"/senseml-reference/computed-field-methods/split"},{"title":"Suppress output","description":null,"href":"/senseml-reference/computed-field-methods/suppress-output"},{"title":"Zip","href":"/senseml-reference/computed-field-methods/zip"}]},{"group":"Sections","pages":[{"title":"Sections","sidebarTitle":"Overview","href":"/senseml-reference/sections/index-sections"},{"title":"Claims loss run example","href":"/senseml-reference/sections/sections-example-loss-run"},{"title":"Labeled rows example","href":"/senseml-reference/sections/sections-example-labeled-rows"},{"title":"Advanced: nested columns example","href":"/senseml-reference/sections/sections-example-nested-columns"},{"title":"Advanced: nested table example","href":"/senseml-reference/sections/sections-example-nested-table"},{"title":"Advanced: Table grid example","href":"/senseml-reference/sections/sections-example-table-grid"},{"title":"Advanced: Zip sections","href":"/senseml-reference/sections/sections-example-zip"},{"title":"Advanced: Zip and flatten nested sections","href":"/senseml-reference/sections/sections-example-copy-from-sections"},{"title":"Advanced: Transform sections data","href":"/senseml-reference/sections/sections-example-copy-to-section"},{"title":"Advanced: External anchors for sections","href":"/senseml-reference/sections/sections-example-external-range"}]},{"group":"Config Settings","pages":[{"title":"Config settings","sidebarTitle":"Overview","href":"/senseml-reference/config-settings/index-config-settings"},{"title":"Fingerprint","href":"/senseml-reference/config-settings/fingerprint"},{"title":"Verbosity","href":"/senseml-reference/config-settings/verbosity"}]},{"group":"Document type settings","pages":[{"title":"Document type settings","sidebarTitle":"Overview","href":"/senseml-reference/document-type-settings/index-document-type-settings"},{"title":"Fingerprint mode","href":"/senseml-reference/document-type-settings/fingerprint-mode"},{"title":"OCR engine","href":"/senseml-reference/document-type-settings/ocr-engine"},{"title":"OCR level","href":"/senseml-reference/document-type-settings/ocr-level"}]},{"group":"Advanced computed field methods","pages":[{"title":"Advanced computed field methods","sidebarTitle":"Overview","href":"/senseml-reference/advanced-computed-field-methods/index-advanced-computed-field-methods"},{"title":"Add computed fields","href":"/senseml-reference/advanced-computed-field-methods/add-computed-fields"},{"title":"Copy from sections","href":"/senseml-reference/advanced-computed-field-methods/copy-from-sections"},{"title":"Copy to section","href":"/senseml-reference/advanced-computed-field-methods/copy-to-section"},{"title":"Custom computation","href":"/senseml-reference/advanced-computed-field-methods/custom-computation"},{"title":"Get file metadata","href":"/senseml-reference/advanced-computed-field-methods/get-file-metadata"}]},{"group":"Concepts","pages":[{"title":"Concepts","sidebarTitle":"Overview","href":"/senseml-reference/concepts/index-concepts"},{"title":"Accuracy measures","href":"/senseml-reference/concepts/accuracy-measures"},{"title":"Anchor nuances","href":"/senseml-reference/concepts/anchor-nuances"},{"title":"Bag of words","href":"/senseml-reference/concepts/bag-of-words"},{"title":"Extraction coverage","href":"/senseml-reference/concepts/coverage"},{"title":"Supported file types","href":"/senseml-reference/concepts/file-types"},{"title":"Field extraction order","href":"/senseml-reference/concepts/field-order"},{"title":"Ligatures","href":"/senseml-reference/concepts/ligatures"},{"title":"Lines","href":"/senseml-reference/concepts/lines"},{"title":"Match arrays","href":"/senseml-reference/concepts/match-arrays"},{"title":"Section nuances","href":"/senseml-reference/concepts/section-nuances"},{"title":"OCR","href":"/senseml-reference/concepts/ocr"},{"title":"SenseML","href":"/senseml-reference/concepts/senseml"},{"title":"Choosing a Table method","href":"/senseml-reference/concepts/table-methods"}]}]},{"group":"API","pages":[{"group":"API Tutorial","pages":[{"title":"API tutorial","sidebarTitle":"Overview","href":"/api-guides/api-tutorial/index-api-tutorial"},{"title":"Try synchronous extraction","href":"/api-guides/api-tutorial/api-tutorial-sync"},{"title":"Try asynchronous extraction from your URL","href":"/api-guides/api-tutorial/api-tutorial-async-1"},{"title":"Try asynchronous extraction from a Sensible URL","href":"/api-guides/api-tutorial/api-tutorial-async-2"},{"title":"Try a webhook","href":"/api-guides/api-tutorial/api-tutorial-webhook"}]},{"title":"Code examples","href":"/api-guides/examples"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/choosing-an-endpoint"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/june-2024"}]}]},"basePath":"","title":"Split - Sensible","buildId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","deploymentId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-9bQKnClW.js","lightbox-handle-r17bVUz3.js"]}