Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » strcpy issue
Re: strcpy issue [message #46738 is a reply to message #46737] Thu, 21 July 2016 13:37 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

forlano wrote on Thu, 21 July 2016 12:54

String s = "0000000000000000000000";
s[4] = '1';

Is there a way to do it?

This should work:
String s = "0000000000000000000000";
s.Set(4, '1');


Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Nightly packages compilation error
Next Topic: Vector(const Vector& v, int)
Goto Forum:
  


Current Time: Fri Jul 18 10:04:09 CEST 2025

Total time taken to generate the page: 0.03809 seconds