Sponsored Content
Top Forums Programming copying or concatinating string from 1st bit, leaving 0th bit Post 88988 by jim mcnamara on Thursday 10th of November 2005 11:36:15 AM
Old 11-10-2005
I think you mean a byte, not a bit.
This is related to your other post, which is not readable, at least for me.
Code:
strcpy(str1, &str2[1]);
strcat(str1, &str2[1]);

 

4 More Discussions You Might Find Interesting

1. Red Hat

boot the 32 bit kernel on a 64 bit PPC Linux machine?

Hi all, I'm looking to cover a corner case for an upcoming test cycle. Is there a way to boot a RedHat Advanced Server 4 (update 3) installed on a Power PC machine to use a 32 bit kernel? This would be similar to what is done here -> https://www.unix.com/aix/26204-aix-platform.html I've done... (0 Replies)
Discussion started by: philrau
0 Replies

2. UNIX for Advanced & Expert Users

migrating unix mp-ras 32 bit to linux suse 64 bit

Hi. I need to migrate the whole unix environment from a Unix mp-ras 32 bit to a Linux Suse 64 bit. 1) can i use cpio to copy the data? 2) can i just copy the users from unix to linux or do i have to create them by hand 3) are there any other concerns i should worry about? thanx (1 Reply)
Discussion started by: mrodrig
1 Replies

3. Shell Programming and Scripting

How to handle 64 bit arithmetic operation at 32 bit compiled perl interpreter?H

Hi, Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result. perl interpreter info, perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies

4. Windows & DOS: Issues & Discussions

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

Hello everyone. I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
STRCOLL(3)								 1								STRCOLL(3)

strcoll - Locale based string comparison

SYNOPSIS
int strcoll (string $str1, string $str2) DESCRIPTION
Note that this comparison is case sensitive, and unlike strcmp(3) this function is not binary safe. strcoll(3) uses the current locale for doing the comparisons. If the current locale is C or POSIX, this function is equivalent to str- cmp(3). PARAMETERS
o $str1 - The first string. o $str2 - The second string. RETURN VALUES
Returns < 0 if $str1 is less than $str2; > 0 if $str1 is greater than $str2, and 0 if they are equal. CHANGELOG
+--------+------------------------------------+ |Version | | | | | | | Description | | | | +--------+------------------------------------+ | 4.2.3 | | | | | | | This function now works on win32. | | | | +--------+------------------------------------+ SEE ALSO
preg_match(3), strcmp(3), strcasecmp(3), substr(3), stristr(3), strncasecmp(3), strncmp(3), strstr(3), setlocale(3). PHP Documentation Group STRCOLL(3)
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy