Substring

davila's icon

which is the simplest way for substring? I mean like...

substring(int beginIndex, int endIndex)

regexp? zl?

Thanks a lot. I'm still getting familiar with max.

Anthony Palomba's icon

Well [zl slice] works well for things at the beginning or end.
You can use [zl sub] to find a substring within a string, then
use slice to slice off the portions not needed.

davila's icon

Thanks I'll try with zl