Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How concat String and Number?

Enthusiast ,
Jun 22, 2016 Jun 22, 2016

This is my code:

PMString strLabel="TXT-" + 1;

But result ="TXT-".

How concat String and Number?

TOPICS
SDK
665
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Jun 22, 2016 Jun 22, 2016

Hi daitranthanhoa,

PMString has a function AppendNumber.

Markus

Translate
Enthusiast ,
Jun 22, 2016 Jun 22, 2016

Hi daitranthanhoa,

PMString has a function AppendNumber.

Markus

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 22, 2016 Jun 22, 2016
LATEST

PMString strLabel("TXT-");

strLabel.AppendNumber(1);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines