Copyright © tutorialspoint.com
Syntax
Definition and UsageSplits a string expression into fields based on the delimiter specified by PATTERN. If no pattern is specified whitespace is the default. An optional limit restricts the number of elements returned. A negative limit has the same effect as no limit. This function is often used in conjunction with join() to create small text databases.
Return Value
ExampleTry out following example:
It will produce following result:
|
Copyright © tutorialspoint.com