Im working on a project where i have to get the number of printers that are allocated to a certain job and need to split the file name up so that i can read the type and the number of printers and if its a half bed or not. The file name will look something similar to this <name>_P<AQT or INI>_B<0-9>[h - for half beds] but would be like 20140702_PAQT_B6h and im wanting the _P and the _B part of it.
abaddon2031 0 Junior Poster in Training
David W 131 Practically a Posting Shark
flebber 12 Light Poster
2teez 43 Posting Whiz
Gribouillis 1,391 Programming Explorer Team Colleague
2teez 43 Posting Whiz
snippsat 661 Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.