How String concat and number?

This is my code:

PMString strLabel is 'TXT-' + 1;.

But result = 'TXT '.

How String concat and number?

Hi daitranthanhoa,

PMString has an AppendNumber function.

Markus

Tags: InDesign

Similar Questions

  • How to convert a string to a number?

    How to convert a numeric string to a number of TestStand?

    Use Val().

    Example Val (Locals.myString)

  • How to get the number of line of a multi-line string

    It seems that this Panel of string does not provide the tool to get the chain line number,

    Does anyone have the same experience?

    so...

    How to get the line number of a variable string?

    Number of lines

  • How to get the part of string before and after a character

    Hi all

    How to get the string before and after the comma character)

    Ex: The string contains the value John Kennedy

    I need the output as first stirng - John

    Second stirng - Kennedy

    Create table names (fullname varchar2 (20));

    insert into values of names ("John, Kennedy");

    insert into values of names ("papa ibra, Shan");

    insert into values of names ('Don Bosco'),

    Select * from names;

    Expected results

    FullName firstname lastname

    John, Kennedy John Kennedy

    Nicolas, Nicolas Shan Shan

    Don Bosco Don Bosco

    Please let me know how to proceed

    Thank you

    Hello

    This proves what I said before, on 0 and several commas commas.

    If we add these 3 rows to the sample data you posted:

    insert into names (fullname) values ("tou").

    insert into names (fullname) values (' David, Lloyd, George ");

    insert into names (fullname) values ('J, R, R, Tolkien");

    then the query I posted earlier produced these results:

    FULLNAME FIRSTNAME LASTNAME

    -------------------- -------------------- --------------------

    John, Kennedy John Kennedy

    Nicolas, Nicolas Shan Shan

    Don Bosco Don Bosco

    TOU tou

    David Lloyd, George David Lloyd, George

    J, R, R, Tolkien J R, R, Tolkien

    If you prefer to get these results:

    FULLNAME FIRSTNAME LASTNAME

    -------------------- -------------------- --------------------

    John, Kennedy John Kennedy

    Nicolas, Nicolas Shan Shan

    Don Bosco Don Bosco

    TOU tou

    David Lloyd, George David, Lloyd George

    J, R, R, J, R, R Tolkien Tolkien

    then you just change line 1:

    WITH got_commapos AS

    (

    SELECT FullName

    , INSTR (fullname, ','-1) AS commapos-* CHANGED *.

    Names

    )

    SELECT FullName

    , SUBSTR (fullname, commapos 1, -1) AS a first name

    SUBSTR (fullname, commapos + 1) in the FORM name

    OF got_commapos

    ;

  • I produced serial number / number of reinstall Acrobat, how to go and do?

    I produced serial number / number of reinstall Acrobat, how to go and do?

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • just bought SCAN SNAP supplied with disc of Acrobat, but only for PC, I use a MAC, the serial number of the disk, how to use and get for MAC

    just bought SCAN SNAP supplied with disc of Acrobat, but only for PC, I use a MAC, the serial number of the disk, how to use and get for MAC

    Standard Acrobat's window only; Acrobat pro for mac

  • How to count impact / number of occurrence of a string

    Hello

    If I start with this:

    WITH approval_tbl AS
         (SELECT 123456 docno, 'SUBMIT' action_code, '02-MAY-2013 13:09:55' action_date, 0 seq FROM DUAL UNION ALL
          SELECT 123456, 'RESERVE', '02-MAY-2013 13:09:55', 1 FROM DUAL UNION ALL
          SELECT 123456, 'APPROVE', '02-MAY-2013 14:59:47', 2 FROM DUAL UNION ALL
          SELECT 123456, 'APPROVE', '02-MAY-2013 16:25:14', 3 FROM DUAL)
    SELECT * FROM approval_tbl WHERE action_code = 'APPROVE';
    

    I wish I could count the number of the impact of each action_code "APPROVE", where the first "APPROVE" impact / occurrence with a SEQ of '2', would have a number of impact of '1', and the following, with a SEQ 3, would be the 2nd impact / occurrence of the string "APPROVE" and therefore would have a number of the impact of the '2 '.

    I don't know if my sample data are too basic to be able to generate that info?

    Any advice would be much appreciated.

    Thank you!

    Hello

    Do you want results as follows:

    A_NUM DOCNO ACTION_ ACTION_DATE SEQ

    ---------- ---------- ------- -------------------- ----------

    1 123456 APPROVE 2 MAY 2013 14:59:47 2

    2 123456 APPROVED MAY 2, 2013 16:25:14 3

    where the a_num column is generated by the query?

    You can use the ROW_NUMBER analytic function for this:

    SELECT ROW_NUMBER () OVER (ORDER BY seq) AS a_num

    ,         a.*

    Of approval_tbl one

    WHERE action_code = 'APPROVE '.

    ORDER BY seq - if desired

    ;

  • How do the secret string to the number value

    Hello

    I want to convert the string to a number value

    ex: -.

    Select col from t1 where p1 = '232';

    the query above returns as a value below

    '123,343,534,433';

    I have to pass the value in another query where condition as below

    Select * from t2 where in p2 (123,343,534,433);

    P2 is here the number data type,
    and I want to take each coma has a distinct value

    Thanks in advance...
    Bala

    Another way

    SQL> select *
      2  from  emp
      3  where INSTR(','||'7900,7902'||',' , ','||empno||',' ) > 0
      4  /
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
    

    SS

  • Converts a string to a number

    Hi all, I'm new to labview and I want to show a certain number (temp.) on a diagram. I get COM port as string data... How to convert this number to be used in the diagram or for reasons of comparison... Could you help?

    This is my block diagram:

    Fract/Exp function Number string

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • Laptop HP Touchsmart 15-D020: how to remove and replace the keyboard on laptop HP Touchsmart 15-D020NR

    I spilt a drink on my keyboard and now I can not turn off the caps lock and a number of keys does not work. I need instructions on how to remove and replace the keyboard frame. Thank you.

    On your page of support-look for Maintenance and Service of Guide in the manuals.

    http://support.HP.com/us-en/product/HP-15-D000-TouchSmart-notebook-PC-series/6627588/model/6761859/manuals

  • Hexadecimal string to HEXADECIMAL number

    Hello Experts,

    I just stuck in a simple problem. in fact I'm having an array of string HEX I want to convert it to HEX number format, I am looking for this conversion. It's that simple, but I can't do this job. Please see the image to join for more understanding.

    Soon harry and thnaks in advance

    Harry,

    You can do this (and many other conversions from string to a number) with analysis of the chain. %x indicates LabView input data are hexagonal. There are also a lot of string functions to a number (for example ' in hexadecimal string to the number") which could be faster if you do this 100 000 times in loop, but analysis chain will solve 99% of your problems.

    -Rob

  • How to find the number of data items in a file written with the ArryToFile function?

    I wrote a table of number in 2 groups of columns in a file using LabWindows/CVI ArrayToFile... Now, if I want to read the file with the FileToArray function so how do I know the number of items in the file. during the time of writing, I know how many elements array to write. But assume that I want the file to be read at a later time, then how to find the number of items in the file, so that I can read the exact number and present it. Thank you all

    Hello

    I start with the second question:

    bytes_read = ReadLine (file_handle, line_buffer, maximum_bytes);

    the second argument is the buffer to store the characters read, so it's an array of characters; It must be large enough to hold maximum_bytes the value NULL, if char [maximum_butes + 1]

    So, obviously the number of lines in your text tiles can be determined in a loop:

    Open the file

    lines = 0;

    While (ReadLine () > 0)

    {

    lines ++;

    }

    Close the file

  • Best way to transfer strings, arrays and clusters

    Hi, I just want to know the best way to transfer strings, arrays and clusters between a PC and a computer-RT (compactRIO) if I want to use them in deterministic loops:

    For a string should I use a published network shared variable flow or network?

    For an array of doubles should I flatten the array in a string and the string of transfer? or should I send it as a picture?

    The same for clusters, should I flatten the cluster or the transfer as a cluster?

    Thank you!

    Transfers on the network are not deterministic.  You ask how to use the data in a deterministic way, once it arrives on the RT system.  Usually, you would create a separate loop, not critics of time to deal with network communications.  The data arrives it is copied in real-time-safe structures such as RT-FIFO to put at the disposal of the evanescent loop.

    I can't give you specific advice on network variables and network flows; Finally, I did this kind of transfer over TCP, until these other options were available.

  • Heading indicator and number of scrolling missing on monitor

    Help - what, someone knows how to get caps, number and scroll locks appear on my screen for a reason, he disappeared and is a pain that I know not if all have been selected. My computer is HP P6675UK AND RUNS ON WINDOWS 7 appreciate ANY HELP THANKS

    Hello Ouzat,

    Try these drivers to see if they provide the on-screen display

    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=12454&prodSeriesId=5230510&prodNameId=5230515&swEnvOID=4060&swLang=13&mode=2&taskId=135&swItem=wk-105778-1

    There are also free alternatives like this

    http://keyboard-LEDs.com/

Maybe you are looking for