Using string methods to extract specific pieces of text and display them in a different format

Error1

Hi, I am Using string methods to extract specific pieces of text and display them in a different format but this error occur.

For example you want to extract some characters of string then you can use substring or split.

substring example=
str_Variable=abcdefgh

substring(str_Variable-3)

it will give you last three characters fgh

Split Example

str_Variable=hellow_World

str_Variable=split(str_Variable,“-”)(0)

it will return hellow

Dont know clearly about your question it is giving index error hope so second example will work for you

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.