[FREE] StyleTextUtils Extension - An extension for styling text

Version 2.0

Version 2 of the extension is out now :partying_face: :partying_face:

New Blocks

component_method (7)

Gets the end position of the word in the text of the component

component_method (6)

Gets the start position of the word in the text of the component

How it Works

Original Text :


so when we use the GetStartPos block it returns 1,20

When we use the GetEndPos block it returns 9,28

Important

If your text contains multiple same words(greater than once repeated), then GetStartPos & GetEndPos will return String in the form pos1,pos2,pos3 and so on in the format position, next position

When your text contains multiple same words and you are using GetStartPos & GetEndPos blocks you need to use it in a similar way :point_down:


Result

Download Version 2.0

io.soham.styletextutils.aix

Thank you @Abdo_Saad for suggesting this idea

4 Likes