stack_str {strings} R Documentation

get string between two stack string

Description

Usage

stack_str(str, left, right);

Arguments

str

-

left

the stack string on the left. [as string]

right

the stack string on the right. [as string]

Details

this function will get max length string between left and right stack string

Authors

SMRUCC genomics Institute

Value

this function returns data object of type string.

clr value class

Examples

 # get tag value string in html
 let html_str  = "this is title string";
 let title_str = html_str |> stack_str(">", "<");
 
 # [1] this is title string
 print(title_str);
 
 html_str = "this is < title string";
 title_str = html_str |> stack_str(">", "<");
 
 # [1] this is < title string
 print(title_str);

[Package strings version 2.33.856.6961 Index]