time-to-botec/squiggle/node_modules/@stdlib/string/substring-after/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

31 lines
602 B
Plaintext

{{alias}}( str, search[, fromIndex] )
Returns the part of a string after a specified substring.
Parameters
----------
str: string
Input string.
search: string
Search string.
fromIndex: integer (optional)
Index from which to start the search. Default: `0`.
Returns
-------
out: string
Substring.
Examples
--------
> var out = {{alias}}( 'Hello World!', 'World' )
'!'
> out = {{alias}}( 'Hello World!', 'Hello ' )
'World!'
> out = {{alias}}( 'Hello World!', 'l', 5 )
'd!'
See Also
--------