Use of _ in string causes sdssplitlen() to return no tokens
Offen
- Vorherrschende Sprache
- C
- Sterne
- 5.6k
- Forks
- 510
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Thank you for a fantastic library!!
One minor possible issue:
I am using sdssplitlen() to parse out the elements of a path+file string, as in:
/DIR1/DIR2/this_isafile.txt <-- cTempString
tokens = sdssplitlen(cTempString,sdslen(cTempString),"/",1,&count);
With an underscore in the string, sdssplitlen() returns NULL.
Haven't single-step debugged it yet. For now, avoiding using filenames with _
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.