Summary: Hi All, Here some Question regarding String. Question1 How to formula a integer to a 5 digit value 1 to 00001 2 to 00002 ..... 10 to 00010 Question 2 ...
Summary: This seems like a whitespace error, but I cant find the answer, note~ I need the path string format as described below for output to .txt file... Fo...
Summary: Can anyone give me any information on any classes for string formatting. When I say string formatting i mean justifying and fill width,etc. ...
Summary: Ok, I'm currently programming a simple frontend type program that requires the user to input heir telephone number. Because its easier I stored the va...
Summary: I have a list of computer serial numbers and their corresponding asset tags (taglist.txt). The list can be arranged any way to make this task easier (...
Summary: I'm having a little trouble with parsing strings in batch. Basically, I'm trying to make a batch script to automatically compile and run Java files, ...
Summary: Hi, Please help me on this. As part of a batch script, I need to replace (or substitute) a particular character in a string variable with another char...
Summary: I am trying to make a batch file that inserts a string at the beginning of every line of a text document and at the end of a line. eg. (String Here)te...
Summary: Hi, Is there any way for a for loop to parse each word in a string one by one? For instance, For /F %%i in ('findstr /c:"TestString" file.txt') do ech...
Summary: Simple example... string dateString = //simple date string; DateTime convertedDate = DateTime.Parse(dateString); this accepts the basic date string fo...
Summary: Hello all, I am trying to create a batch file that will take three parameters and output a text file. The three parameters are Input, Begining folder...
Summary: I'm no programmer either, but it doesn't seem like that's something a web browser should be able to do. what if the batch file said "format c:"? ...
Summary: Yes, I agree, cmd.exe is powerfull too now, can do a lot of things, but with much more twisted lines of batch scripting than what is needed. But TCC m...
Summary: I've got a batch script that runs through a file, but every time it hits a line with a less-than sign, it bombs. Here's the script: REM Gets line from...
Summary: Hey,, So far I have this: @ECHO OFF setLocal EnableDelayedExpansion set str=abcdefghijklmnopqrstuvwxyz set /a a=0 set /a max=25 :reset set ran=%random...
Summary: Ok, I only tested the first one, which worked great. I need to perform the same task in another section of the batch. My string this time is: HKLM...
Summary: Or use the Format function like this. List1.AddItem Format(weeks, "@@") The ampersand reserves space for up two two charters and right justifies the...
Summary: Hi, itoa() does it, the 3rd parameter given 2, converts the number to a "stream" of 1's and 0's. The converted value is in a string format(char[], i m...
Summary: Jim already fixed your code, yet you also sound determined to write more functions! I'd love to give you lots of examples, but since that's not practi...
Summary: Thanks for the reply I know that MKS$ and CVS handle single precision to and from string format in GWBasic but how do you convert a single precision n...
Summary: You use the Format method of the String class. Your example would be like this: public class Test { public static void main(String[] args) ...
Summary: If so, you have to type as the parameter for the batch the short format of the path, i.e the old 8.3 name that can be obtained typing Dir /X. As rule...
Summary: I'll chime-in with my usual long-winded, interesting-to-almost-nobody history bit... Ending with Win3x, the majority of data was stored in ini files. ...
Summary: Sometimes staying home preserves brain cells! Besides, when you have kids, the social notion of "nothing to do on a Friday night" will fade away (exce...
Summary: Dim val2 As Decimal = Format(val1,"##0.00") When you apply formatting, it's no longer a number. val1 should be a String. I am getting an error "Format...