Ga naar hoofdinhoud

25 artikelen getagd met "string"

Laat alle tags zien

Escape‑codes

Bij het maken van strings zijn sommige tekens lastig te noteren; escape‑codes lossen dit op. Hieronder de codes voor Pawn.

format

Een string formatteren met variabelen/waarden.

ispacked

Checks if the given string is packed.

memcpy

Copy bytes from one location to another.

strcat

This function concatenates (joins together) two strings into the destination string.

strcmp

Compares two strings to see if they are the same.

strcopy

Copies a string into the destination string.

strdel

Delete part of a string.

strequal

Compares two strings to see if they are the same.

strfind

Search for a sub string in a string.

Stringmanipulatie

Beginnersvriendelijke guide over stringmanipulatie in Pawn, met praktische tips en voorbeelden.

strins

Insert a string into another string.

strlen

Get the length of a string.

strmid

Extract a range of characters from a string.

strunpack

This function can be used to unpack a string.

strval

Convert a string to an integer.

tolower

This function changes a single character to lowercase.

toupper

This function changes a single character to uppercase.

uuencode

Encode a string to an UU-decoded string.

valstr

Convert an integer into a string.