fluffos/docs/efun/strings/explode.md

28 lines
485 B
Markdown
Raw Permalink Normal View History

2018-12-30 16:43:04 -08:00
---
title: strings / explode
---
2023-11-25 09:50:24 -08:00
# explode
2018-12-30 16:43:04 -08:00
### NAME
2018-12-30 16:59:01 -08:00
explode() - break up a string
2018-12-30 16:43:04 -08:00
### SYNOPSIS
2018-12-30 16:59:01 -08:00
string *explode( string str, string del );
2018-12-30 16:43:04 -08:00
### DESCRIPTION
2018-12-30 16:59:01 -08:00
2018-12-30 16:43:04 -08:00
explode() returns an array of strings, created when the string <str> is
split into pieces as divided by the delimiter <del>.
### EXAMPLE
2018-12-30 16:59:01 -08:00
2018-12-30 16:43:04 -08:00
explode(str," ") will return as an array all of the words (separated by
spaces) in the string <str>.
### SEE ALSO
sscanf(3), replace_string(3), strsrch(3)