View Complete Post
i have this garbache value %B463822546831472^MILIN JONE/OBAMA ^1308226223780000731000000?;E?
How can i split with java script.plz help in this issue
I need to be able to get the different parts of the URI (and convert from/to relative page paths) in BOTH classic ASP and .Net 2.0 (VB).
For example, if I have "http://sitename.company.com/index.aspx?sec=fred&pag=dis&mode=1" OR "/index.aspx?sec=fred&pag=dis&mode=1"
IS there a function where I can pass in either string (assuming I'm on sitename.company.com) and get back an array with:
(0): sitename.company.com(1): index.aspx(2): sec=fred&pag=dis&mode=1
(Or, alternately, three different functions that would return the three parts?)
I am working on a site where I use the Split function on a string.
To make sure I used a separator character that I do not use anywhere in the data I selected the character 'ÃÂ£'.
This worked fine in Firefox and Safari, but in IE8 I get an 'Index out of range' error, so apparently the 'ÃÂ£' character is not handled correctly.
I changed the separator to ';', and then it works fine.
MSDN Magazine November 2006
Hi, I've a database table contains survey questions and answers. But the problem is both 'question' and 'answer' are saved in the same column(like below).
2010-02-15 14:53:59.657 ***What's your pet's name?*** Lili ***Tell us about yourself*** I'm a teacher
2010-02-15 14:53:59.657 ***What's your pet's name?*** Lucy ***Tell us about yourself*** I'm a five star cook
I'd like to use a simple datagrid to display the survey result, but I need to separate the submission column into multiple columns ('question' as column name, 'answer' as data)
the number of questions or questions being asked are different for each survey so they are not fixed.
Is it even possible to get something like this below in a gridview?
When i try to build my Web Application project using the Web Deployment Projects the dll's aren't splitting into seperate asemblys as i have set it to.
My output look like this:
------ Build started: Project: ClassLib, Configuration: Release Any CPU ------ClassLib -> C:\Users\Heu\Desktop\SBCms_Release_1_0\ClassLib\bin\Release\ClassLib.dll------ Skipped Build: Project: SBCms Website, Configuration: Release Any CPU ------Project not selected to build for this solution configuration ------ Build started: Project: SBCms Website.vbproj_deploy, Configuration: Release Any CPU ------if exist ".\TempBuildDir\" rd /s /q ".\TempBuildDir\"C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v "/SBCms Website.vbproj" -p "C:\Users\Heu\Desktop\SBCms_Release_1_0\SBCms Website" -u -f .\TempBuildDir\ Running aspnet_merge.exe.C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\aspnet_merge.exe .\TempBuildDir -prefix test_ -a -copyattrs aspnet_merge : warning 1013: Cannot find any assemblies that can be merged in the application bin folder.Successfully merged '.\TempBuildDir'.if exist "C:\Users\Heu\Desktop\SBCms_Release_1_0\SBCms Website.vbproj_deploy\Release\" rd /s /q "C:\Users\Heu\Desktop\SBCms_Relea
I have a string that looks like this: pic1*pic2*pic3*
I want to take out every pic from the string like this:
I got the first pic but how do i get the other two?
Dim line as string = "pic1*pic2*pic3*"
Dim pic1 As String
Dim pic2 As String
Dim pic3 As String
pic1 = line.Substring(0, line.IndexOf("*"))
pic2 = ?
pic3 = ?