String — এই মানের জন্য লিঙ্ক URL, অথবা যদি কোন লিঙ্ক না থাকে বা যদি একাধিক ভিন্ন লিঙ্ক থাকে তাহলে null ।
get Link Url(startOffset, endOffset)
start Offset থেকে end Offset পর্যন্ত পাঠ্যের জন্য লিঙ্ক URL প্রদান করে। অফসেটগুলি 0 ভিত্তিক এবং সেলের পাঠ্যের সাথে আপেক্ষিক, শুরু অফসেটটি অন্তর্ভুক্ত এবং শেষ অফসেটটি একচেটিয়া।
পরামিতি
নাম
টাইপ
বর্ণনা
start Offset
Integer
শুরু অফসেট.
end Offset
Integer
শেষ অফসেট.
প্রত্যাবর্তন
String — এই মানের জন্য লিঙ্ক URL, অথবা কোনো লিঙ্ক না থাকলে বা একাধিক ভিন্ন লিঙ্ক প্রদত্ত পরিসরে থাকলে null ।
get Runs()
রিচ টেক্সট স্ট্রিংকে রানের অ্যারেতে বিভক্ত করে, যেখানে প্রতিটি রান একটি সামঞ্জস্যপূর্ণ টেক্সট স্টাইল সহ দীর্ঘতম সম্ভাব্য সাবস্ট্রিং।
start Offset থেকে end Offset পর্যন্ত পাঠ্যের টেক্সট স্টাইল ফেরত দেয়। অফসেটগুলি 0 ভিত্তিক এবং সেলের পাঠ্যের সাথে আপেক্ষিক, শুরু অফসেটটি অন্তর্ভুক্ত এবং শেষ অফসেটটি একচেটিয়া।
পরামিতি
নাম
টাইপ
বর্ণনা
start Offset
Integer
শুরু অফসেট.
end Offset
Integer
শেষ অফসেট.
প্রত্যাবর্তন
Text Style — এই মানের প্রদত্ত সাবস্ট্রিং-এর টেক্সট স্টাইল।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eRichTextValue\u003c/code\u003e objects represent stylized text within a spreadsheet cell, allowing substrings to have varied styles.\u003c/p\u003e\n"],["\u003cp\u003eText is broken into "runs," which are the longest continuous substrings sharing the same style.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRichTextValue\u003c/code\u003e class provides methods to access and manipulate text, styles, and links within these runs.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can retrieve individual runs, get/set text styles, and extract link URLs using dedicated methods.\u003c/p\u003e\n"],["\u003cp\u003eMethods like \u003ccode\u003ecopy()\u003c/code\u003e, \u003ccode\u003egetText()\u003c/code\u003e, \u003ccode\u003egetRuns()\u003c/code\u003e, and \u003ccode\u003egetTextStyle()\u003c/code\u003e offer manipulation of \u003ccode\u003eRichTextValues\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["RichTextValue\n\nA stylized text string used to represent cell text. Substrings of the text can have different\ntext styles.\n\nA *run* is the longest unbroken substring having the same text style. For example, the\nsentence, \"This **child** *is carrying* apples\" has 4 runs: `['This ', 'child ',\n'is carrying ', 'apples']`. \n\nMethods\n\n| Method | Return type | Brief description |\n|------------------------------------------------------------------------|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| [copy()](#copy()) | [RichTextValueBuilder](/apps-script/reference/spreadsheet/rich-text-value-builder) | Returns a builder for a Rich Text value initialized with the values of this Rich Text value. |\n| [getEndIndex()](#getEndIndex()) | `Integer` | Gets the end index of this value in the cell. |\n| [getLinkUrl()](#getLinkUrl()) | `String` | Returns the link URL for this value. |\n| [getLinkUrl(startOffset, endOffset)](#getLinkUrl(Integer,Integer)) | `String` | Returns the link URL for the text from `start``Offset` to `end``Offset`. |\n| [getRuns()](#getRuns()) | [RichTextValue[]](#) | Returns the Rich Text string split into an array of runs, wherein each run is the longest possible substring having a consistent text style. |\n| [getStartIndex()](#getStartIndex()) | `Integer` | Gets the start index of this value in the cell. |\n| [getText()](#getText()) | `String` | Returns the text of this value. |\n| [getTextStyle()](#getTextStyle()) | [TextStyle](/apps-script/reference/spreadsheet/text-style) | Returns the text style of this value. |\n| [getTextStyle(startOffset, endOffset)](#getTextStyle(Integer,Integer)) | [TextStyle](/apps-script/reference/spreadsheet/text-style) | Returns the text style of the text from `start``Offset` to `end``Offset`. |\n\nDetailed documentation \n\n`copy()` \nReturns a builder for a Rich Text value initialized with the values of this Rich Text value.\n\nReturn\n\n\n[RichTextValueBuilder](/apps-script/reference/spreadsheet/rich-text-value-builder) --- A builder for a Rich Text value.\n\n*** ** * ** ***\n\n`get``End``Index()` \nGets the end index of this value in the cell.\n\nReturn\n\n\n`Integer` --- The end index of this value in the cell.\n\n*** ** * ** ***\n\n`get``Link``Url()` \nReturns the link URL for this value.\n\nReturn\n\n\n`String` --- The link URL for this value, or `null` if there is no link or if there are\nmultiple different links.\n\n*** ** * ** ***\n\n`get``Link``Url(startOffset, endOffset)` \nReturns the link URL for the text from `start``Offset` to `end``Offset`. Offsets are 0\nbased and relative to the cell's text, with the start offset being inclusive and the end offset\nbeing exclusive.\n\nParameters\n\n| Name | Type | Description |\n|-----------------|-----------|-------------------|\n| `start``Offset` | `Integer` | The start offset. |\n| `end``Offset` | `Integer` | The end offset. |\n\nReturn\n\n\n`String` --- The link URL for this value, or `null` if there is no link or if multiple\ndifferent links are in the given range.\n\n*** ** * ** ***\n\n`get``Runs()` \nReturns the Rich Text string split into an array of runs, wherein each run is the longest\npossible substring having a consistent text style.\n\nReturn\n\n\n[RichTextValue[]](#) --- An array of runs.\n\n*** ** * ** ***\n\n`get``Start``Index()` \nGets the start index of this value in the cell.\n\nReturn\n\n\n`Integer` --- The start index of this value in the cell.\n\n*** ** * ** ***\n\n`get``Text()` \nReturns the text of this value.\n\nReturn\n\n\n`String` --- The text of this value.\n\n*** ** * ** ***\n\n`get``Text``Style()` \nReturns the text style of this value.\n\nReturn\n\n\n[TextStyle](/apps-script/reference/spreadsheet/text-style) --- The text style of this value.\n\n*** ** * ** ***\n\n`get``Text``Style(startOffset, endOffset)` \nReturns the text style of the text from `start``Offset` to `end``Offset`. Offsets are 0\nbased and relative to the cell's text, with the start offset being inclusive and the end offset\nbeing exclusive.\n\nParameters\n\n| Name | Type | Description |\n|-----------------|-----------|-------------------|\n| `start``Offset` | `Integer` | The start offset. |\n| `end``Offset` | `Integer` | The end offset. |\n\nReturn\n\n\n[TextStyle](/apps-script/reference/spreadsheet/text-style) --- The text style of the given substring of this value."]]