Here is a procedure to put CopyMemoryString() to work in handy way (though not as good as using '+') for appending string speedily. :lol: Glory be to God and Mother Mary! :lol:
Procedure AppendString2Memory (AddString.s)
Procedure AppendString2Memory(AddString.s, reset=0)
; Append string ...
Search found 3 matches
- Sat Dec 26, 2015 9:47 pm
- Forum: Tricks 'n' Tips
- Topic: Append string fast by CopyMemoryString()
- Replies: 0
- Views: 4105
- Sat May 31, 2014 11:08 pm
- Forum: Feature Requests and Wishlists
- Topic: Function to check a string with embedded wild cards
- Replies: 8
- Views: 3106
Re: Function to check a string with embedded wild cards
Should be cross platform, since it only uses PB commands:
; Uses these RegEx characters.
; . Any character except new line (\n)
; $ End of string, or end of line in multi-line pattern
; * 0 or more
; ? 0 or 1
; \ Escape following character (requires duplicating for a filepath)
Procedure.i ...
; Uses these RegEx characters.
; . Any character except new line (\n)
; $ End of string, or end of line in multi-line pattern
; * 0 or more
; ? 0 or 1
; \ Escape following character (requires duplicating for a filepath)
Procedure.i ...
- Thu May 29, 2014 11:52 pm
- Forum: Feature Requests and Wishlists
- Topic: Function to check a string with embedded wild cards
- Replies: 8
- Views: 3106
Function to check a string with embedded wild cards
Microsoft VBA provides many ready function like the string matching, e.g. "A" is like "*A". The following procedures are not too long (glory to God) and they may ease your work. Enjoy :lol:.
Procedure FindStringWithHoles(sRead.s, sPattern.s, pos=1, Mode=#PB_String_NoCase)
; This function will be ...
Procedure FindStringWithHoles(sRead.s, sPattern.s, pos=1, Mode=#PB_String_NoCase)
; This function will be ...