Add split usage example - #810
Open
Abod-A wants to merge 1 commit into
Open
Conversation
❌ Deploy Preview for splashkit failed.
|
AAMIRAU
approved these changes
Aug 7, 2026
AAMIRAU
left a comment
There was a problem hiding this comment.
Reviewed the changes. The split usage examples are clear, consistent across all four language versions, and demonstrate the function well with different delimiters. Looks good to me.
ralphweng2023
approved these changes
Aug 9, 2026
ralphweng2023
left a comment
There was a problem hiding this comment.
Re-approval of AAMIRAU's review at 2bc3b12. The four language versions match on the three delimiter cases, and check_api.py returns 0 findings on the Python file.
The C# top-level omits using SplashKitSDK; and uses only the static import plus System.Collections.Generic; for List. That matches the corpus pattern where the namespace using is dropped.
Approved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added a usage example for the SplashKit
splitutility function. This example demonstrates splitting strings using different delimiter characters, including splitting a CSV string by comma, a sentence by space, and a file path by slash.Type of change
How Has This Been Tested?
Each code file was reviewed to ensure correct syntax and consistent output across all four language versions (C++, Python, C# OOP, C# top-level). The expected output was verified and a screenshot was generated from the Python version.
Testing Checklist
Checklist
If involving code
Folders and Files Added/Modified
Additional Notes
This usage example covers the
split()function from the SplashKit utilities API. The screenshot was generated from the Python version of the code.