logoNEURAL COOK
SearchAll PostsTagsNotesAuthor
logoNEURAL COOK

A posts created with Next.js and Tailwind.css

Explore

  • All posts
  • Notes
  • Snippets
  • Tags
  • RSS feed

Connect

instagramtwitterfacebookyoutubelinkedinmailgithub

© 2026 VIKI. All rights reserved.

Built with
Contents
ArraysData StructuresListMath OperationBinary SearchSortingString Operation
Snippets/java

Arrays

1 min read
On this pageSplice
Splice

# Splice

To create the sub-array

  • startInclusive – the start index to extract from the array inclusive
  • endExclusive – the end index to extract exclusive
String[] result = Arrays.stream(<array>, <startInclusiveIndex>, <endExclusiveIndex>).toArray(String[]::new);
Next→Data Structures

On this page

Splice