Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
TheSuperHackers
/
GeneralsGameCode
Public
forked from
electronicarts/CnC_Generals_Zero_Hour
Notifications
You must be signed in to change notification settings
Fork
250
Star
1.4k
Code
Issues
689
Pull requests
113
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
[GEN][ZH] Simplify repeated calls to removeLastChar with new truncate and trim methods
- #1257
#1257
Merged
xezon
merged 13 commits into
TheSuperHackers:main
TheSuperHackers/GeneralsGameCode:main
from
slurmlord:string-truncate
slurmlord/GeneralsGameCode:string-truncate
Copy head branch name to clipboard
Jul 14, 2025
Conversation
Commits
13
(13)
Checks
Files changed
Merged
[GEN][ZH] Simplify repeated calls to removeLastChar with new truncate and trim methods
#1257
xezon
merged 13 commits into
TheSuperHackers:main
TheSuperHackers/GeneralsGameCode:main
from
slurmlord:string-truncate
slurmlord/GeneralsGameCode:string-truncate
Copy head branch name to clipboard
Commits
Commits on Jul 4, 2025
Add truncateBy and truncateTo methods to string classes.
slurmlord
committed
f53f178
View commit details
Copy full SHA for f53f178
Browse repository at this point
Commits on Jul 9, 2025
Merge remote-tracking branch 'origin/main' into string-truncate
slurmlord
committed
f1064ea
View commit details
Copy full SHA for f1064ea
Browse repository at this point
Commits on Jul 10, 2025
Update trim to use truncateTo
slurmlord
committed
b82d101
View commit details
Copy full SHA for b82d101
Browse repository at this point
Replace repeated use of removeLastChar() with truncateBy or truncateTo.
slurmlord
committed
b5c039a
View commit details
Copy full SHA for b5c039a
Browse repository at this point
Use truncateTo instead of truncateBy for file name
slurmlord
committed
a61b34a
View commit details
Copy full SHA for a61b34a
Browse repository at this point
Use known size for ascii chars.
slurmlord
committed
d10b002
View commit details
Copy full SHA for d10b002
Browse repository at this point
Commits on Jul 12, 2025
Add trimEnd methods and use Int for parameters.
slurmlord
committed
f5fc609
View commit details
Copy full SHA for f5fc609
Browse repository at this point
Use trimEnd methods.
slurmlord
committed
38ff97e
View commit details
Copy full SHA for 38ff97e
Browse repository at this point
Backport string functions to Generals.
slurmlord
committed
c472df8
View commit details
Copy full SHA for c472df8
Browse repository at this point
Backport to Generals: Use trimEnd, truncateBy and truncateTo instead of removeLastChar.
slurmlord
committed
103fb41
View commit details
Copy full SHA for 103fb41
Browse repository at this point
Commits on Jul 13, 2025
Merge remote-tracking branch 'origin/main' into string-truncate
slurmlord
committed
d976040
View commit details
Copy full SHA for d976040
Browse repository at this point
Revert ReplaySimulation changes as per review discussions.
slurmlord
committed
b3f335d
View commit details
Copy full SHA for b3f335d
Browse repository at this point
Revert ReplaySimulation to origin/main, remove superfluous newlines in comments.
slurmlord
committed
4569dff
View commit details
Copy full SHA for 4569dff
Browse repository at this point
You can’t perform that action at this time.