cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
758
Views
0
Helpful
1
Replies

range integer in java (IP-IVR, CRS)

kolotov83
Level 1
Level 1

In CRS script .

How i can range integer in java? from 0000 to 0999

Example:

GetDigitString = place

Enter from phone place = 0000 ... 0999

after need convert place = 0014 to place = 14

                          place = 0155 to place = 155 etc.

1 Accepted Solution

Accepted Solutions

Jonathan Schulenberg
Hall of Fame
Hall of Fame

Standard Java programming rules apply so one way to do this is using the parseInt Integer method.

Set myIntegerVariable = int.parseInt(myStringVariable)

View solution in original post

1 Reply 1

Jonathan Schulenberg
Hall of Fame
Hall of Fame

Standard Java programming rules apply so one way to do this is using the parseInt Integer method.

Set myIntegerVariable = int.parseInt(myStringVariable)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: