---
title: "Codeunit 1263 Transform. Rule - Substring, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/points/
object: https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 1263 Transform. Rule - Substring, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/points/

5 procedures and triggers with a step in src/Layers/W1/BaseApp/System/DataExchange/Transformations/TransformRuleSubstring.Codeunit.al, in source order, read from the text, not from a run.

## TransformText

[Line 10](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L10).

- [12](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L12) calls `Substring`

## ValidateTransformationRuleField

[Line 24](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L24).

- [32](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L32) validates [Table 1237 Transformation Rule](https://jonas-paprotka.de/ref/table/1237-transformation-rule/) `Start Position`
- [38](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L38) validates [Table 1237 Transformation Rule](https://jonas-paprotka.de/ref/table/1237-transformation-rule/) `Length`
- [46](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L46) validates [Table 1237 Transformation Rule](https://jonas-paprotka.de/ref/table/1237-transformation-rule/) `Starting Text`
- [54](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L54) validates [Table 1237 Transformation Rule](https://jonas-paprotka.de/ref/table/1237-transformation-rule/) `Ending Text`

## Substring

[Line 66](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L66), local.

- [71](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L71) calls `SubstringGetStartPosition`
- [75](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L75) calls `SubstringGetLength`

## SubstringGetLength

[Line 83](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L83), local.

- [95](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L95) calls `RemoveLeadingAndEndingQuotes`

## SubstringGetStartPosition

[Line 101](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L101), local.

- [112](https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/#L112) calls `RemoveLeadingAndEndingQuotes`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
