Removing the value of the label from the list

I am receiving a value to my app but it is coming in a label.

I need to remove the value from the label and put it into the API key so there can be no spaces.

( this is an old API key)


You API Key is between the prefix ?api_key= and the suffix &

This parse procedure by @Taifun can extract it.

2 Likes

Hi,

I may have explained wrong,

I am receiving ["156"]

I require 156

If this was python I would be able to acces the value as string[0]

how can I do the same with the blocks in AI2?

The value of 156 will then be put into the API get request.

you can use the parse procedure for that...

string: ["156"]
start: ["
end: "]

Taifun

1 Like