![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Converting a String variable into Integer | neeto | UNIX for Dummies Questions & Answers | 2 | 05-22-2008 04:38 PM |
| Converting a decimal into integer | idro | Shell Programming and Scripting | 4 | 10-31-2007 01:51 PM |
| Checking if string contains integer | haz | Shell Programming and Scripting | 7 | 09-11-2006 03:51 AM |
| command for converting string to integer | esham | Shell Programming and Scripting | 1 | 08-04-2005 08:20 AM |
| Integer to String | psilva | High Level Programming | 2 | 08-17-2001 01:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Converting integer to String
Hi everyone,
I would like to know how to convert an integer to a string. for instance if i=1 i would like to creat a variable called constant1. i want to do this in a for loop so for each value of i, i create a new variable such as constant2, constant3,... and so on. for i in 1 2 3 do commands to create the variables done thank you ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|