Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 466 results for
string-manipulating
- Page 1
Manipulating characters in a string
Programming
Software Development
15 Years Ago
by youdester
…. Array.Sort(arrString) Dim strNumeric As
String
=
String
.Empty Dim strLowerCase As
String
=
String
.Empty Dim strUpperCase As
String
=
String
.Empty 'The characters are placed in…
Re: Manipulating characters in a string
Programming
Software Development
15 Years Ago
by apegram
… System.Xml.Linq Module Module1 Sub Main() Dim input As
String
= "i a 2 M 1 c D 3 ß B…().OrderBy(Function(c As Char) Char.ToUpper(c)) Dim sortedInput =
String
.Join(" ", temp.Where(Function(c As Char) c…
Manipulating strings with Common Lisp
Programming
Software Development
17 Years Ago
by jaden403
… find the number of times that one
string
is found in another
string
. I tried using (
string
= "x" "xyzx"… there a way to specify that the end of the
string
has been reached? Is there a better way to do…
Re: Manipulating strings with Common Lisp
Programming
Software Development
17 Years Ago
by Duoas
… job. I would use an index into the
string
to keep the original
string
reference (instead of recursively operating on copies of… substrings). When you run out of
string
, then you've found all the matches. You might find…
Manipulating Data in C++
Programming
Software Development
14 Years Ago
by Duby
… but no luck [CODE] //Declared Variable
string
firstName = "";
string
lastName = "";
string
fullName = "";
string
phoneNum = ""; char ans…
manipulating array data
Programming
Software Development
11 Years Ago
by razree
… System.Data.SqlClient Structure Struktura Dim game As
String
Dim nr_tickets As Integer End Structure Public Class …e As System.EventArgs) Handles Button_save.Click Dim Datoteka As
String
= "path_to_file\file_to_save_games.txt" If ComboBox1.SelectedItem…
Re: manipulating array data
Programming
Software Development
11 Years Ago
by Reverend Jim
…the totals as Dim dic As New Dictionary(Of
String
, Integer) 'read the file and calculate totals …quot;d:\temp\games.txt") Dim fields() As
String
= line.Split(";") If dic.ContainsKey(fields…Dim numTickets As Integer = 0 For Each key As
String
In dic.Keys ListBox1.Items.Add(key & "…
Re: Manipulating Data in C++
Programming
Software Development
14 Years Ago
by Ancient Dragon
… in std <algorithm> header file [code] #include <
string
> #include <algorithm> #include <iostream> using… namespace std; int main() {
string
name; cout << "Enter your name\n"…
Re: String
Programming
Software Development
11 Years Ago
by Schol-R-LEA
… piece of written text. The name '
string
' is historical, and refers to the concept of ['
string
rewriting'](http://en.wikipedia.org/wiki… is of pieces of paper held together by a (physical)
string
, which was an early way of
manipulating
character strings before computers.
Re: String Conversion
Programming
Software Development
18 Years Ago
by Lerner
… you don't do the arithmetical operation on the whole
string
/number at once, rather you do the arithmetical operation on… shifting, etc., if you make appropriate conversions, have enough experience
manipulating
bits, etc. To convert char to ints you can use…
Re: manipulating a string using ord()
Programming
Software Development
17 Years Ago
by vegaseat
Fun with ascii values of a
string
... [code=python]def ascii_list(s): """return a …list of ascii values of the characters in
string
s""" return [ord(c) for c in…
Re: manipulating user input strings
Programming
Software Development
14 Years Ago
by griswolf
…. Use this to create a sequence of indices into your
string
. I'm not going to do this for you: It… like this: `[my_string[x] for x in range(....)]` 3. The [
string
method `join()`](http://docs.python.org/library/stdtypes.html#str… the += operator to append the next character to the subsequence
string
you are buliding. Note: You don't really need to…
Re: String Manipulation
Programming
Software Development
13 Years Ago
by klevershy
Hi there, I would like some help with a project
manipulating
strings in VB. I want to explain what is all …) an keyword strings* , So each letter in the word(s)
string
has to be encrypted by the value of the corresponding…
Re: manipulating struct members
Programming
Software Development
11 Years Ago
by nhrnjic6
…* p_array,int size); struct Friend { int days=0;
string
Name=" "; }; int main() { int size… = 5; int x = 0;
string
decision = " "; Friend *p_friend = new Friend[size…
manipulating a string using ord()
Programming
Software Development
17 Years Ago
by Carlo Gambino
… to identify the decimal value of each character in the
string
. I have been able to return the value of the…
Manipulating the database
Programming
Software Development
18 Years Ago
by Emperor
Hi Everyone, am developing a small application that displays the records on a window form from an Access database. i have managed to set a connection
string
. could someone help me with a code for add button, search Button, update button commit button in vb.net?
Manipulating Textboxes
Programming
Web Development
17 Years Ago
by jtok
… where the value is drawn from when creating the input
string
for the database. What I am trying to do is…
manipulating user input strings
Programming
Software Development
14 Years Ago
by computerstudent
… together a code that will basically take a user input
string
and reprint every 3rd character. i.e. if a user…
manipulating struct members
Programming
Software Development
11 Years Ago
by nhrnjic6
… array of structures that contains int(num of days) and
string
(Name).So basicy user should enter name of a friend…
Re: manipulating struct members
Programming
Software Development
11 Years Ago
by Lucaci Andrew
… items: Here's a small example: struct Person { int days;
string
name; }; bool compare_persons( const Person& first, const Person&…
Re: Manipulating A Database
Programming
Software Development
19 Years Ago
by Paladine
… provide the interface with the database, and provided some data
manipulating
and retrieving features, and lastly [b]other .Net Framework Classes…]DataRelation { [STAThread] [color=#0000ff]static void [/color]Main([color=#0000ff]
string
[/color][] args) { SqlConnection thisConnection = [color=#0000ff]new [/color]SqlConnection("…
Re: Manipulating characters in a string
Programming
Software Development
18 Years Ago
by waynespangler
Try this: [CODE] Dim ary(TextBox1.Text.Length - 1) As
String
For x As Int16 = 0 To TextBox1.Text.Length - 1 …
Re: Manipulating a String that contains HTML source
Programming
Software Development
17 Years Ago
by davidcairns
… you don't keep searching from the start of the
string
.
Re: Manipulating a String that contains HTML source
Programming
Software Development
17 Years Ago
by ReeciePoo
… you don't keep searching from the start of the
string
.[/quote] Thanks heaps for your reply but do you think…
Re: Manipulating a String that contains HTML source
Programming
Software Development
17 Years Ago
by davidcairns
… more clever than this [code=vb] Dim arrVars(7) as
String
Dim intStrPos as Integer Dim intEndPos as Integer Dim i…
Re: manipulating data grids
Programming
Software Development
14 Years Ago
by sathish88
… too. thanks guys...[/QUOTE] Code for grid view.... [CODE]
string
connectionString = "Data Source=.;Initial Catalog=pubs;Integrated Security=True…";
string
sql = "SELECT * FROM Authors"; SqlConnection connection = new …
Re: Manipulating Flat Text Files Tab Delimated
Programming
Web Development
12 Years Ago
by guiburi
…('../data/cart.txt'); $exploded = explode("\n", $
string
); foreach ($exploded as $key => $val) { if (stristr($val,$pname)) { $…
Re: Manipulating A Database
Programming
Software Development
19 Years Ago
by Paladine
… made the call to the DB provided in your connection
string
and executed your Query. Here is some links to check…
Re: Manipulating CString
Programming
Software Development
15 Years Ago
by Ancient Dragon
CString has Left(), Right(), and Mid() methods which are something like std::
string
's substr() method.
Re: manipulating the ID name
Programming
Web Development
14 Years Ago
by parry_kulk
… Toggle() function. Only thing is that pass them as a
string
as shown in eg below [CODE] ... <input type="…
1
2
3
8
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC