A string is a sequence of zero or more characters. It is commonly used to represent text or a sequence of bytes.
2
votes
2answers
47 views
Putting correct php-code within eval()-string
I am working on a Wordpress project where I need to dynamically create a function (depending on which kind of template is used for a page or post) that retrieves the comments of each page in question.
...
0
votes
2answers
12 views
Split string and delete item that contains substring
I need to transform string in MySQL from this
44|UK 46|47 - Out of stock|XL|Large|52
to this
44|46|XL|Large|52
So delimiter is "|" and need to delete substring with " - Out of stock"
2
votes
1answer
32 views
How do I manipulate the last string of a Richtextbox in Visual Basic
I am trying to take a string in a rich text box and replace them with a different string.
Now how this should work is that if two same characters are entered into the text box
e.g tt the "tt" will ...
0
votes
1answer
32 views
VB.NET Send strings between applications?
I have two VB.NET apps. One will run as an administrator, and the other one will act as a 'receiver/client'. Anyway, the receiver just sits in the tray, so it has no HWND, so I could not use ...
0
votes
1answer
575 views
Calling/Marshalling strings from c# dll to unmanaged code
I'm trying to call a c# function in a dll from an unmanaged 3rd party app - metatrader
I have followed advice from Calling C# dll from unmanaged code however, the example about marshalling strings ...
-1
votes
1answer
26 views
weird syntax error in ocaml
hey I'm just starting using Ocaml, and i got this weird Syntax error that i can't understand!
here's my program:
let out x = Printf.printf " %s \n" x
let _ = try
while true do
let line = ...
4
votes
0answers
225 views
dotless interpolation in @import
How do I import .less files with string interpolation in the pathstring.
@folder: "LessFiles";
I tried this
@import "@{folder}/file.less";
Error:
File Not Found.
HTTP GET Url is ...
1
vote
0answers
22 views
How do i save a very long string?
I am creating a mobile app and i have encounted a problem on blackberry phones (most of my users are using blackberry). I am using phonegap api.
The problem is that i am downloading a string which i ...
1
vote
0answers
30 views
Generating random string valid for UTF-8 encode and decode
For testing purpose, I need to generate a random string, which is then encoded into byte array for transferring over the Web and decoded back to a result string. The test uses NUnit framework to ...
0
votes
0answers
2 views
whether need quotation marks with strings in simpleXML in php
this is my php code to check whether a tag named $GEcode exsits as node in _.xml file:
in line 4, when I write GEcode=$GEcode, it echo 'not exsits', when the quotation marks exsit(GEcode='$GEcode'), ...
0
votes
0answers
21 views
using ::rest and String concat in ocaml in ocaml
i'm just starting to using Ocaml, and it's kind of funny because i face all sort of syntax problem and i don't know why?
what i was trying to do is parse a git file and chack if that line begin by a ...
0
votes
0answers
21 views
How to get culture name from a resource path file name
Having a resource file name ex: Employee.resx I must get a list with other cultures in same folder. So I thought like this:
private void GetExtraCultures(string resxFileDirectory, string ...
0
votes
0answers
51 views
How to detect self-generated IDs
I need to detect auto-generated String IDs for objects which indeed are supposed to have human-generated IDs. Found nothing after googling around, except some spam-detection APIs, which don't seem to ...
0
votes
0answers
44 views
Using a String to insert Formatted date
I am using a calendar example from http://droidwalk.blogspot.co.uk/2012/11/android-calendar-sample.html
This Calendar allows you to insert a reminder icon like so
items.add("2012-06-09");
This is ...
-3
votes
0answers
13 views
sending strings by querystring from android to sql server failed
I am developing an application in android that send data by get method to aspx pag for saving in database. if string is not arabic send is ok and save string correctly but when string is arabic it ...